You'll need to have these installed:
- bundler
- node
- npm
- node
- bower (gobally installed)
- bower-installer (globally installed)
Javascript dependencies are managed using Bower. The
project root has a .bowerrc
file that tells bower where to install the
libraries (bower_components folder).
Bower-Installer is used to copy files from the bower_components folder into the appropriate folder(javascripts or stylesheets) so we don't need to check-in the whole javascript repo installed by bower.
$ cd vendor/assets/
$ bower-installer
- Running the above command will run
bower install
to install the libs defined inbower.json
. It will then copy the main files to the appropriate folder which is version controlled and can be checked in.
Todo
Make sure you're using the deploy
vagrant VM setup for the api
, frontend
, mongo
, and redis
. Once that is setup and running,
cap local deploy:setup
cap local deploy
Shell commands,
#### default is staging
#
cap staging deploy
cap production deploy