User Tools

Site Tools


rdm-dev:start

Differences

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

Link to this comparison view

Next revision
Previous revision
rdm-dev:start [2024/09/04 08:29]
sebast created
rdm-dev:start [2024/12/17 13:45] (current)
torkhov
Line 1: Line 1:
-====== Neuer Namespace("rdm-dev") ======+**Wissensmanagement der Entwickler** in der AG Daten. 
 + 
 +== Inhalt == 
 +[[rdm-dev:Metadateneditor V2|Metadateneditor V2]] 
 + 
 +[[rdm-dev:SAMDAT|SAMDAT project]] 
 + 
 +[[rdm-dev:Deployment for Websites|Deployment for Websites]] 
 + 
 +== Nützliches ==
    
 Platz, um als Team Vorgehen, Platz, um als Team Vorgehen,
 gute Lösungen usw. über Projekte hinweg auszutauschen. gute Lösungen usw. über Projekte hinweg auszutauschen.
 +
 +**Tip #1:**
 +Wenn du OOP im Python magst, dann würdest du von pylint profitieren. LOL 
 +Beim Dokumentieren großerer Projecte ist visueller Überblick hilfreich und 
 +
 +''pyreverse -o png -p name_for_the_files my_script.py''
 +
 +response: 
 +classes_name_for_the_files.png
 +packages_name_for_the_files.png
 +
 +doku [[https://pylint.readthedocs.io/en/latest/pyreverse.html]]
 +
 +**Tip #2:**
 +How to replicate any mongoDB database in a Docker container?
 +
 +1. Ensure you have mongo cli tools installed (Homebrew is your friend)
 +
 +2. call mongodump in any convenient way for you [[https://www.mongodb.com/docs/database-tools/mongodump/]]
 + 
 +3. save the mongodump conveniently.   
 +
 +4. publish the database at port. for example, 27017
 +
 +5. on the host machine run: 
 +mongorestore \
 +  --uri="mongodb://username:password@localhost:27017" \
 +  --db icgem-test \
 +  --dir /mongo_dump/icgem-test
 +
 +5. to automate the process each time a container is reloaded, you will need a .sh script. You mount the .sh script and the mongodump onto the container (this eliminates the necessity of step 3), then the script does step 4. 
 +----
 +
rdm-dev/start.1725438560.txt.gz · Last modified: 2024/09/04 08:29 by sebast