This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd favs
npm install
cp env.example .env
and change environment variables
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:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
The application is setup to deploy to Amazon S3 and (currently) connects to a backend hosted on Heroku.
To deploy to your own S3 bucket:
- create and configure a bucket on Amazon S3 - Ember Screencasts has some good instructions on this.
- copy
env.example
to.env
- in
.env
, fill in your AWS access key, -secret, bucket and region - deploy with
ember deploy production
The current application uses an API hosted on Heroku. The host name for this is defined in config/environment.js
and can be replaced by your own.
Please consult Favs API for more information.