This repository holds the REST API for Group 26's ASL Tutor as well as the admin web portal.
- Python 3.7+
- Vagrant
- Virtual Box
- Docker
Install virtual box and vagrant
Make a directory and clone the repo into it
From the terminal 'cd' into the project root (you should see a Vagrantfile
) then run the following commands:
vagrant up
vagrant ssh
cd /vagrant
From the terminal 'cd' into the project Spring2019-Group26 and run the following commands:
chmod +x deploy.sh
./deploy.sh
If you make changes and they do not automatically take affect run:
./deploy.sh
Requests will be directed to http://localhost:1337/
[Not yet enabled] To launch the integration tests, use tox:
sudo pip install tox
tox
To run the server on a Docker container, please execute the following from the root directory:
# building the image
docker build -t app .
# starting up a container
docker run -p 5000:1337 app