==============
This is an Angular 1.x application using Webpack. Angular 2 upgrade coming soon!
- ES6, and ES7 support with babel.
- Source maps included in all builds.
- Development server with live reload.
- Production builds.
- Testing environment using karma to run tests and jasmine as the framework.
- Code coverage when tests are run.
- No gulp and no grunt, just yarn/npm scripts.
Warning: Make sure you're using the latest version of Node.js and NPM
# clone the repo
$ git clone https://github.com/JackForbes/JackForbes.git
# change directory to your app
$ cd JackForbes
# install the dependencies with yarn
$ yarn
# start the server
$ yarn start
go to http://localhost:8080 in your browser.
node
(Use NVM for node version management)- Ensure you're running Node (
v6.7.0
)
- Ensure you're running Node (
yarn
(https://yarnpkg.com/en/docs/install)
Databases (all can be installed with brew on mac)
postgres
redis
elasticsearch
fork
this repoclone
your forkyarn
to install all dependencies
After you have installed all dependencies you can now run the app with:
yarn start
It will start a local server using webpack-dev-server
which will watch, build (in-memory), and reload for you. The port will be displayed to you as http://localhost:8080
.
The unit tests are located in the module directories, alongside the controller, service, directive, and filter files.
- single run:
yarn test
- live mode (TDD style):
yarn run test-watch
- App is auto deployed to S3 production when pushing to
- the
master
branch. - Make sure CircleCI tests pass before merging
- build dist directory and upload to s3:
yarn run build
- view built app on jackforbes.net