Docker wrapper for ELVIS-Project/simssadb.
Production: https://db.simssa.ca
Staging: https://db.staging.simssa.ca (need to be on McGill network/VPN)
First you must install docker
brew cask install dockerpip install docker composeTo View the site with no modifications
docker compose uphttp://127.0.0.1:1337 on your web browserTo work on the Django project,
git clone --recurse-submodules [email protected]:DDMAL/docker-simssadb.gitdjango/simssadb folder execute git pull origin develop
docker compose -f build.yml build. Alternatively, try running sudo docker compose up if errors appear.# This will give you a new shell
docker compose exec django bash
# In the new shell, type the following
/machine/start
Note: Make sure you have the correct image tags when pulling. Cross check with Docker Hub and edit the tags in docker-compose.yml.
To deploy changes made locally to production/staging:
ddmal/simssadb_django, ddmal/simssadb_postgres, ddmal/simssadb_nginxdocker-simssadb repo is. It's normally in /srv/webapps/sudo docker compose upNote: Make sure to check for unused images, build caches, old volumes etc.
Content type
Image
Digest
sha256:e84fdaea2…
Size
745.2 MB
Last updated
over 2 years ago
docker pull ddmal/simssadb_django