-
Notifications
You must be signed in to change notification settings - Fork 24
Vagrant developer environment
The following commands utilize Vagrant to setup a virtual machine with the Cytoscape App Store installed. This version can serve as a guide for a full installation on a production environment, but also can be used for testing.
- MacOS/Linux
- Vagrant
- Virtualbox
# In lieu of git one can just download repo and unzip it
git clone https://github.com/cytoscape/appstore.git
cd appstore2. In same terminal start Vagrant:
This step spins up a virtual machine and provisions it via the bootstrap.sh script
in the repo.
NOTE: This can take several minutes to run
vagrant upIn a browser visit http://localhost:8080
Run the following to log into the machine, become super user and navigate to the directory containing the Cytoscape App Store code/configuration
vagrant ssh
sudo -u root /bin/bash
cd /var/www/appstoreNOTE: To leave the root account in the virtual machine just type exit and to leave the virtual machine type exit again
Assuming one is root and in /var/www/appstore run the following to run unit tests on the app:
python manage.py test