To avoid installing node and npm versions on my laptop, I will be using a Docker container. This is necessary to ensure stability on my only available development machine.
docker run --rm -ti -v $(pwd):/myapp -p 4200:4200 -p 7020:7020 -p 7357:7357 danlynn/ember-cli:3.7.1
This will spin up a local Ember site with live-reload for convenient developement but the Congressional Go API server will still be needed for data access. See the Congression Go API README for instructions on the setup of this required component.
The site should be accessible from http://localhost:4200 while the docker container is running.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone https://github.com/jalandis/congress-ember
cd congress-ember
npm install
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
ember test
ember test --server
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
There is currently no deploy process.