[go: up one dir, main page]

Skip to content

coding-blocks/codingblocks.online.projectx

Repository files navigation

Follow @codingblocksin

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.projectx this repository
  • cd codingblocks.online.projectx
  • yarn install

Running for Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm 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