User Tools

Site Tools


rdm-dev:samdat_project_test-environment

This is an old revision of the document!


This is an overview how I replicated the ICGEM website locally

The motivation is to test changes without the necessity to push them to the test-server. Here I can test updates for the website. And implement a relational metadatabase as a prototype.

Infrastructure. consists of 3 Docker containers:

  • WSGI container with the Cherypy code
  • nginx container with static files
  • mongodb container that replicates a test db. see tip#2 about configuration

Networking:

  • dbs connects wsgi and mongodb containers
  • www connects wsgi and nginx containers

Branching: the configuration files for infrastructure are not tracked by git (added to the .git/exclude). commits to other files can be merged, cherry-picked, rebased to feature branches.

# information specific to my device configuration: VScode on MacOS .code-workspace .DS_Store # configuration files db_dev.env #uri, password, username for test database dev.yaml #DOCKER COMPOSE init-mongo.js #creating users for the mongodb

rdm-dev/samdat_project_test-environment.1734446757.txt.gz · Last modified: 2024/12/17 14:45 by torkhov