Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1018 Bytes

quickstart.rst

File metadata and controls

34 lines (22 loc) · 1018 Bytes

Quick start: Running SQUAD locally

SQUAD is a Django application and works just like any other Django application. If you are new to Django and want to setup a development environment, you can follow the instructions below. If you want to install SQUAD for production usage, see [INSTALL](INSTALL.rst) instead.

Note that SQUAD is Python3-only, so it won't work with Python 2.

To install the dependencies:

pip3 install -r requirements-dev.txt

Alternatively to using pip, on Debian stretch or later you can install dependencies from the repository:

apt-get install python3-dateutil python3-django python3-celery \
  python3-django-celery python3-jinja2 python3-whitenoise python3-zmq

To run the tests:

./manage.py test

Before running the application, create the database and an admin user for yourself:

./manage.py migrate
./manage.py createsuperuser

To run the application locally:

./manage.py runserver