APIL's web-based tracer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
uploads
.gitignore
README.md
TODO.md
config.py
requirements.txt
run.py
wsgi.py

README.md

apil-web

http://apil.parsertongue.com

How to run the app

Install virtualenv for python 2.7.x

pip install virtualenv --python=python2.7

Create a virtual environment

From the project directory, virtualenv apil_env

Activate the virtual environment

1) Activating the python virtual environment

From the project directory, source apil_env/bin/activate

2) Installing the project dependencies

After activating the vm, make sure you have all of the necessary dependencies installed. Simply type:
pip install -r requirements.txt

3) Run the web app locally

  1. From the project directory, type:
    ./run.py
  2. In your browser, navigate to http://localhost:5000

4) Adding dependencies

Install a new package:

pip install <some package name here>

Update requirements.txt:
pip freeze > requirements.txt

Be careful not to add unnecessary dependencies to requirements.txt

Exiting the virtual environment

deactivate