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 clone <repository-url>
this repositorycd library-ui
npm install
ember serve
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint
npm run lint:fix
ember build
(development)ember build --environment production
(production)Specify what it takes to deploy your app.
ember new library-ui
cd library-ui
ember install embercasts-library-styles
emebr serve
ember g ember-cli-sass
ember generate route index
ember g route author
ember g component author-list-item -gc
ember g model author first last
ember g adapter application
ember g route author/detail
ember g controller author/detail
ember g route author/create
ember g controller author/create
ember g route author/edit
ember g controller author/edit
ember g component author-form -gc
ember g controller author
ember install ember-cli-mirage
ember install ember-test-selectors
ember g mirage-model author
ember g acceptance-test authors
ember install ember-power-select
ember g route book
ember g route book/create
ember g controller book/create
ember g model book title isbn publishDate
ember g route book/detail
ember g controller book/detail
ember g component new-author-modal -gc
ember g route book/edit
ember g controller book/edit
ember g component book-form -gc
ember g route author/detail/new-book
ember g controller author/detail/new-book
ember g mirage-model book
ember g acceptance-test books
ember g model review
ember g route book/detail/index
ember g route book/detail/new-review
ember g controller book/detail/new-review
ember g component review-form -gc
ember t -s -m="Unit | Helper | pluralize"
(for testing a group of tests that are specified in module()
in QUnit)ember t -s -f="pluralize"
(for testing a group of tests with modules or test descriptions matching a phrase)ember g helper-test pluralize
npm install faker
ember g mirage-model review
ember install ember-moment
ember install liquid-fire
ember feature:enable jquery-integration
ember install @ember/jquery
npm update embercasts-library-styles
ember g route register
ember g controller register
ember g component register-form
ember g model user email username password passwordConfirmation
ember g component-class register-form
ember install ember-simple-auth ember-simple-auth-token
ember g route login
ember g controller login
ember g component login-form -gc
ember g component nav-bar -gc
ember g route application
ember g service current-user
ember g adapter user
ember install ember-can
ember g ability author
ember g ability book
ember g ability review
npm install --save-dev ember-source@~3.28.6
npm install --save-dev ember-data@~3.28.6
ember install ember-cli-fastboot
npm install fastboot-app-server
ember build -e production
PORT=8080 node serve.js
ember s -e production
(to test production config)heroku create elibui --buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
git push heroku main
heroku config:set API_HOST=https://elibapi.herokuapp.com
heroku config:set CLIENT_HOST=elibui.herokuapp.com
git commit --allow-empty -m "Force deployment after setting config"
git push heroku main