labcodes-wiki

A barebones Django app, which can easily be deployed to Heroku.

This application supports the Getting Started with Python on Heroku article - check it out.

Running Locally

Make sure you have Python 3.7 installed locally. To push to Heroku, you'll need to install the Heroku CLI, as well as Postgres.

For the wiki, we have a couple of system dependencies as well. Take a look at their docs to properly install them. After that, things should be set up as follows:

python3 -m venv .
source bin/activate
pip install -r requirements.txt

python manage.py migrate
python manage.py runserver

Your app should now be running on localhost:8000.

Deploying to Heroku

Assuming you have added the 'heroku' remote, you may deploy to heroku like this:

git push heroku master
heroku run python manage.py migrate
heroku open

Documentation

For more information about using Python on Heroku, see these Dev Center articles:

For more information on Django:

For more information about the wiki app:

The frontend uses bootstrap 3: