The easiest way to run the system is to use vagrant.
Prerequisites:
- Vagrant
- Vagrant-Cachier -
vagrant plugin install vagrant-cachier
- Virtualbox
- Ansible (if using mac w/o root install with
brew install ansible
, otherwise use pip) - Fork and check out the following repos as siblings of each other:
- cfpb/devdash (this repo)
- cfpb/kratos (authorizion microserver)
- cfpb/moirai (AWS EC2 management microserver)
- cfpb/dash (web client)
- add Kratos secret setting to
../kratos/src/config_secret.iced
- add Moirai secret setting to
../moirai/src/config_secret.iced
- add Django secret settings to
./devdash/devdash/settings_secret.py
vagrant up
vagrant ssh
- load data from github:
cd /opt/kratos
icake -n devdesign import_from_gh
- You can start the worker but starting the worker will propagate all changes to the resources!:
cd /opt/kratos
icake runworker
- visit the website in your browser:
localhost:8000
- visit the database in your browser:
localhost:5984
- Commit all node dependencies
- run
/vagrant/devdash/manage.py collectstatic
prior to any commits that change static files - see
devdash/frontend/README.md
for front-end instructions