summaryrefslogtreecommitdiff
path: root/provisioning/README.md
blob: 00d1849d82ac8c816aa3ccfc5556d7609db61085 (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.

# Vagrant setup

Create and provision Vagrant box
```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.