summaryrefslogtreecommitdiff
path: root/provisioning/README.md
blob: ee6c14eeae0a7773fbd72b760eaa24a7f5f0c992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 Setup for developers
=====================
The following instructions describe how to setup a Vagrant box for development. You need to have Vagrant installed on your system (tested using Vagrant 1.7.1).

# Vagrant setup

Create and provision Vagrant box (from inside the user-agent repository)
```sh
$ vagrant up
```

# Running the server
Enter the vagrant box, activate virtualenv and run Pixelated server:
```sh
$ vagrant ssh
$ 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 accessing http://localhost:3333 in your favourite browser on your host machine.