Frontend for Coding Blocks online made using EmberJS.
You will need the following things properly installed on your computer.
- Make sure CodingBlocks Online Server is installed and running
git clone https://github.com/coding-blocks/codingblocks.online.projectx
this repositorycd codingblocks.online.projectx
yarn install
export oss=true && ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.
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