User Tools

Site Tools


rdm-dev:samdat_project_test-environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rdm-dev:samdat_project_test-environment [2024/12/17 14:15]
torkhov
rdm-dev:samdat_project_test-environment [2024/12/17 14:46] (current)
torkhov
Line 3: Line 3:
 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.  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:+**Infrastructure**. consists of 3 Docker containers:
   * WSGI container with the Cherypy code   * WSGI container with the Cherypy code
   * nginx container with static files   * nginx container with static files
   * mongodb container that replicates a test db. see tip#2 about configuration   * 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. 
 +
 +Content of git exclude:
 +
 + information specific to my device configuration: VScode on MacOS
 +  * Unordered List Item.code-workspace
 +  * Unordered List Item.DS_Store
 + configuration files
 +  * Unordered List Itemdb_dev.env      #uri, password, username for test database
 +  * Unordered List Itemdev.yaml        #DOCKER COMPOSE
 +  * Unordered List Iteminit-mongo.js   #creating users for the mongodb
rdm-dev/samdat_project_test-environment.1734444953.txt.gz · Last modified: 2024/12/17 14:15 by torkhov