From 5d6b14b54fb69c3a611cf1f03d9e8bf2d76a2cad Mon Sep 17 00:00:00 2001 From: Mircea Moise Date: Wed, 19 Nov 2014 20:31:04 +0000 Subject: Added vagrantfile and provisioning scripts so the service can be run inside a vagrant box --- provisioning/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 provisioning/README.md (limited to 'provisioning/README.md') diff --git a/provisioning/README.md b/provisioning/README.md new file mode 100644 index 00000000..46acbf0b --- /dev/null +++ b/provisioning/README.md @@ -0,0 +1,22 @@ + Setup for developers +===================== +The following instructions describe how to setup a Vagrant box for development. You need to have Vagrant installed on your system. + +# Vagrant setup + +Create and provision Vagrant box +```sh +$ vagrant up +``` + +# Running the server +Activate virtualenv and run Pixelated server +```sh +$ cd /vagrant/service +$ source .virtualenv/bin/activate +$ pixelated-user-agent --host 0.0.0.0 +``` + +After this you will be asked to setup a LEAP provider. Once entering valid LEAP credentials, you should have the server running. + +You should now be able to access the web app by typing localhost:3333 on any browser running on your host machine. -- cgit v1.2.3