$ cp src/modules/emotion/credentials.sample.py src/modules/emotion/credentials.py
- Edit credentials.py.
- Install Docker.
- Execute via CLI:
$ git clone https://github.com/ibleedfilm/emotion-server.git
$ cd emotion-server
$ sudo chmod u+x bootstrap.sh
$ ./bootstrap.sh
$ eval $(docker-machine env emotion-machine)
$ docker start/stop/restart emotion-server
$ docker-machine ip emotion-machine
Take note of the IP address. You may access it via your browser or provide it in the client.
$ pip install pytest pytest-cov
$ py.test -v --cov=src
$ docker-machine start emotion-machine
$ docker-machine ssh emotion-machine 'sudo mount -t vboxsf src /mnt/src'
$ eval $(docker-machine env emotion-machine)
$ docker start emotion-server
Access app via the IP address provided by $ docker-machine ip emotion-machine
.