-
Notifications
You must be signed in to change notification settings - Fork 2
Development Environment Setup
Ryan Vennell edited this page Mar 23, 2015
·
1 revision
- Clone this repository and navigate into the clone's directory.
- Run the command
sudo ./setup/dev_provision.shto install all dependencies and setup cahoots. - Run the command
./web/server.pyto start the web interface/api. - Visit
http://localhost:8000/to use the web interface. - POST or GET against
http://localhost:8000/api/using the q parameter to retrieve JSON API responses. - Run the command
./tests/build.shto execute unit/flake8/pylint tests.
- Install VirtualBox or VMWare + Vagrant VMWare Provider
- Install Vagrant
- Clone this repository and navigate into the clone's directory.
- Run the command
vagrant uporvagrant up --provider vmware_workstationin the clone's root. - Wait for provisioning to complete (will take several minutes).
- Run the command
vagrant sshto connect to your VM. (Alternative: Use PuTTY with host127.0.0.1, port2222and username/passwordvagrant.) - Run the command
./web/server.pyto start the web interface/api. - Visit
http://localhost:8000/to use the web interface. - POST or GET against
http://localhost:8000/api/using theqparameter to retrieve JSON API responses. - Run the command
./tests/build.shto execute unit/flake8/pylint tests.