I built this website using AngularJS bootstrapped with ng-poly.
This website is meant to showcase a few of the features built into my Android trakR application, which you can check out here.
Feel free to use any of the code, or don't up to you. Check out the Yeoman generator ng-poly though, they are both really convenient.
- Run
npm install -g bower gulp yo generator-ng-poly
- Run
bower install && npm install
to install this project's dependencies
- Make sure you ran the setup ie.
bower install && npm install
- Rename
rdeploy-build.sh.example
toredeploy-build.sh
- Fill in the following variables:
user
,server
,web_root
,site
, and you can change the other variables like build/serve directory, log name, etc. - Run
./rdeploy-build.sh <branch> <dev|prod>
or simply./rdeploy-build.sh
which defaults to the production mode on the current branch.
This will build the project, then using rsync will copy the files to the server. Passwordless ssh is recommended, but you will also be prompted to login if necessary. If you think something went wrong, check the directory for deploy.log
or whatever you changed the name to be.
- Run
gulp
to compile for dev and launch server - Run
gulp build
to compile for dev - Flags
--env=prod
to compile for production -
`--env=prod --pretty` to compile for production without minification
This project is active and running at http://trakr.hoogit.ca, so check it out!