Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.78 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.78 KB

octane-battleship-client

We are learning Ember Octane!

We are making a Battleship game while we do it!

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd octane-battleship-client
  • npm install

Running / Development

Code Generators

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

Running Tests

  • npm run test:ember runs ember test
  • remember to passthrough flags with an extra dash: npm run test:ember -- --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix
  • npm run lint runs all lint scripts using npm-run-all

Building

  • npx ember build (development)
  • npm build runs ember build --environment production

Git hooks

  • pre-commit - runs lint-staged
  • pre-push - runs npm run test (also runs lint)

Deploying

We do not deploy this application anywhere yet

Further Reading / Useful Links