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:00]
torkhov
rdm-dev:samdat_project_test-environment [2024/12/17 14:46] (current)
torkhov
Line 1: Line 1:
 This is an overview how I replicated the ICGEM website locally 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. +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.  
 + 
 +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.1734444019.txt.gz · Last modified: 2024/12/17 14:00 by torkhov