CarlosLannister / IHS

Industrial Hacking Simulator
MIT License
25 stars 1 forks source link

Explain Scada.py run #8

Closed CarlosLannister closed 4 years ago

CarlosLannister commented 4 years ago

Is your feature request related to a problem? Please describe. Explain how to launch scada.py visual interface. https://github.com/CarlosLannister/IHS/wiki/2.-WaterTower-Tutorial

Describe the solution you'd like Add explaining and how to deploy flask in production.

Additional context You should not launch debun server in a production enviroment. Remember Patreon hack? That was a flask running on debug.

CarlosLannister commented 4 years ago

Added documentation about launching scada.py in production. https://github.com/CarlosLannister/IHS/wiki/2.-WaterTower-Tutorial

Also added comments inside the code: app.config['SECRET_KEY'] = 'secret!' #Generate a personal secret key for production use !!!!!. It should be random and secret.

app.config['DEBUG'] = True #Do not forget to turnoff debug mode it is a production environment.