ava-website
The repository of the AVA website, Django here
Build
Commands to run to pull the latest changes
git pull
docker-compose build
docker-compose run --rm web python manage.py migrate
docker-compose up
Create admin
You can create a superuser with this command
docker-compose run --rm web python manage.py createsuperuser
or from the Django shell
docker-compose run --rm web python manage.py shell
from django.contrib.auth.models import User
u = User.objects.get(username='username of the user you want to promote')
u.is_staff = True
u.is_superuser = True
u.save()
In-site Documentation
- Make sure you have an admin account.
- Go to this page when docker is started