Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

cfpb/pantheon

Repository files navigation

DevDash

Installation

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)
  1. add Kratos secret setting to ../kratos/src/config_secret.iced
  2. add Moirai secret setting to ../moirai/src/config_secret.iced
  3. add Django secret settings to ./devdash/devdash/settings_secret.py
  4. vagrant up
  5. vagrant ssh
  6. load data from github:
  7. cd /opt/kratos
  8. icake -n devdesign import_from_gh
  9. You can start the worker but starting the worker will propagate all changes to the resources!:
  10. cd /opt/kratos
  11. icake runworker
  12. visit the website in your browser: localhost:8000
  13. visit the database in your browser: localhost:5984

Development

  • 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