Quellcode durchsuchen

'server/README.md' ändern

Mert Usul vor 1 Tag
Ursprung
Commit
4993a9261c
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. 9 0
      server/README.md

+ 9 - 0
server/README.md

@@ -2,5 +2,14 @@ The 'server' folder contains 2 folders: 'web' and 'nginx'. Both contain the file
 
 There is a docker-compose file that starts the 2 containers with the correct environment.
 
+To start the server locally, first, run Docker, then navigate to the "server" folder and run
+
+"docker rm smarthubs_docker-web-1;docker image rm smarthubs_docker-web;docker-compose -f .\docker-compose.yml up"
+
+These are 3 docker commands chained together, the first 2 remove existing container and image, the last generates new container and image and hosts them locally.
+We remove existing
+
+Documentation about the routes and db table sis found wihtin the .py files.
+
 The server is written in Python and uses Flask for a REST API and flask-sqlalchemy for DB (SQLlite)