Note you will need to have MySQL server available for it to work, otherwise append to the end of the settings/settings_local.py:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mydatabase',
}
}git clone git@github.com:soelab/webbnm.git
cd webbnm
docker build -t webbnm .
docker run --rm -it --entrypoint bash --mount type=bind,source="$(pwd)",target=/home/webbnm -p 80:80 webbnm
# You will be in container now
cd /home/webbnm
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver 0.0.0.0:80Open localhost in the browser. You should see 404 error.
Navigate to the localhost/da6/. You should see the admin login page.
You should be able to login with your created Super User.