This shows you the differences between two versions of the page.
| 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. |
| + | |||
| + | **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/ | ||
| + | |||
| + | Content of git exclude: | ||
| + | |||
| + | | ||
| + | * Unordered List Item.code-workspace | ||
| + | * Unordered List Item.DS_Store | ||
| + | | ||
| + | * Unordered List Itemdb_dev.env | ||
| + | * Unordered List Itemdev.yaml | ||
| + | * Unordered List Iteminit-mongo.js | ||