-
Notifications
You must be signed in to change notification settings - Fork 3
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.sh
to install all dependencies and setup cahoots. - Run the command
./web/server.py
to 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.sh
to 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 up
orvagrant up --provider vmware_workstation
in the clone's root. - Wait for provisioning to complete (will take several minutes).
- Run the command
vagrant ssh
to connect to your VM. (Alternative: Use PuTTY with host127.0.0.1
, port2222
and username/passwordvagrant
.) - Run the command
./web/server.py
to start the web interface/api. - Visit
http://localhost:8000/
to use the web interface. - POST or GET against
http://localhost:8000/api/
using theq
parameter to retrieve JSON API responses. - Run the command
./tests/build.sh
to execute unit/flake8/pylint tests.