Skip to content
Snippets Groups Projects
Commit 2e8308e3 authored by Jan Maximilian Michal's avatar Jan Maximilian Michal
Browse files

Added a small install guide to the README

parent dbecf107
No related merge requests found
...@@ -19,7 +19,11 @@ isort-check: ...@@ -19,7 +19,11 @@ isort-check:
isort -c -rc $(APP_LIST) isort -c -rc $(APP_LIST)
loaddata: loaddata:
./manage.py loaddata core/fixtures/testdata-* ./manage.py loaddata core/fixtures/testdata-groups.json
loadexamples:
./manage.py loaddata core/fixtures/testdata-core.json
./manage.py loaddata core/fixtures/testdata-user.json
install: install:
pip install -r requirements.txt pip install -r requirements.txt
......
...@@ -5,6 +5,38 @@ Grady - will correct you! ...@@ -5,6 +5,38 @@ Grady - will correct you!
The intention of this tool is to simplify the exam correcting process at the The intention of this tool is to simplify the exam correcting process at the
University of Goettingen. It is deployed as a Django web application. University of Goettingen. It is deployed as a Django web application.
Installing
==========
To set up a new instance perform the following steps:
#. Create a virtual environment with a Python3.6 interpreter and activate it.
#. Install dependencies::
pip install -r requirements.txt
yarn install --modules-folder core/static/node_modules
or alternatively with the make task::
make install
#. Set up the database.
If you are running a local instance for development purposes you
may just run::
python manage.py migrate
python manage.py loaddata core/fixtures/testdata-groups.json
#. Create a superuser if necessary::
python manage.py createsuperuser
#. Your instance should now be ready to be filled with real data. If you just
need some basic examples you can load them with::
make loadexamples
Overview Overview
======== ========
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment