codingblocks.online.projectx
codingblocks.online.projectx copied to clipboard
Coding Blocks Online Courseware Platform
Frontend for Coding Blocks online made using EmberJS.
Prerequisites
You will need the following things properly installed on your computer.
Installation
- Make sure CodingBlocks Online Server is installed and running
git clone https://github.com/coding-blocks/codingblocks.online.projectxthis repositorycd codingblocks.online.projectxyarn install
Running for Development
export oss=true && ember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try ember help generate for more details
Linting
npm run lint:hbsnpm run lint:jsnpm run lint:js -- --fix
Building (for production)
ember build(development)ember build --environment production(production)
Deploying
Specify what it takes to deploy your app.
Further Reading / Useful Links
Engines
We are starting to use Ember Engines for this project. Some commands that can come in handy:
-
Run at application root:
ember g route <route-name> -ir <engine-name>to run blueprint inside an engine -
To add components to the in-repo addon (preferably for sharing components accross engines):
ember g component -ir ember-w-pack <components> -c
