- Clone the repo and cd into the directory
git clone https://github.com/vlead/translators cd translators
- Change the branch
git checkout 2017-summer-interns
- Create a virtual environment and source it. (virtualenv must be installed in your system)
mkdir ~/.virtualenvs
virtualenv ~/.virtualenvs/translators-venv
source ~/.virtalenvs/translators-venv/test/bin/activate
- Install Python dependencies for the app
python build/code/runtime/setup.py install
- Build from src
make
- Set the
PYTHONPATH
cd build/code
export PYTHONPATH=$(pwd)
- Run the app
cd runtime/rest
python app.py