Browse Source

logo debugging

bernhardbuhl 3 years ago
parent
commit
7538a5823b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      README.md
  2. 1 1
      app.py
  3. 1 1
      runbackend.bat

+ 1 - 1
README.md

@@ -40,7 +40,7 @@ After downloading the repository use this sequence of commands to run the docker
 
 * ``docker build --no-cache . -t polzy/polzy_showcase:latest`` (Depending on your machine this may run quite long. The image is 
 not optimized for production. The focus was to create a single image to run the showcase as simple as possible)
-* ```docker run -p 3000:3000 -dit polzy/polzy_showcase:latest```
+* ```docker run -p 3000:3000 -p 5000:5000 -dit polzy/polzy_showcase:latest```
 
 After a few seconds, that it takes to download the latest versions you can open a browser on your local PC and 
 point it to http://localhost:3000. You'll be ready to start using PoLZy-Showcase.

+ 1 - 1
app.py

@@ -12,7 +12,7 @@ class Config(object):
     CLASSNAME_POLICY = 'policy.SamplePolicy'
     CLASSNAME_ANTRAG = 'antrag.SampleAntrag'
 
-    HOST = 'http://localhost:5000'
+    # HOST = 'http://localhost:5000'
 
     # flask dashboard
     DASHBOARD_CONFIG = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'dashboard.cfg')

+ 1 - 1
runbackend.bat

@@ -12,4 +12,4 @@ flask db upgrade
 
 python populate_db.py
 
-flask run(host='0.0.0.0')
+flask run --host=0.0.0.0 --port=5000