This is a python app, using tornado. Uses pip
as the package manager. Make sure you have python and pip installed on your system:
- python
python -V
- pip
pip -V
If you are missing these, please see Downloading Python.
- virtualenv check with:
virtualenv --version
. To install:pip install virtualenv
git clone https://github.com/29thStPublishing/Content-API-Webhook-Template.git
cd Content-API-Webhook-Template
- Create a virtual environment in the project root. The directory named
venv/
is already gitignored, so let's call it that:virtualenv venv
- Start up virtual environment using the command
source venv/bin/activate
(turn it off withdeactivate
) - With the virtualenv running use the command
pip install -r requirements.txt
to install the dependencies for this app. python app.py --dev=True