colab-chat / colab-server

GNU General Public License v3.0
4 stars 1 forks source link

Add development environment option #17

Closed AntonPiccardoSelg closed 7 years ago

AntonPiccardoSelg commented 7 years ago

This PR adds a development option which brings up the Flask-Development Toolbar

We still need to add good logging and we need to provide a testing configuration.

To test

Run production

  1. Run ./colab.py -d
    • Confirm that colab is being served and that there is no debug tool bar on the side of colab
  2. Run ./colab.py -s
    • Confirm that colab is not being served any longer. Confirm that all docker instances have been stopped.

Run development

  1. Run ./colab.py -r 1 -d
    • Confirm that colab is being served and that there is a debug tool bar on the side of colab
  2. Run ./colab.py -s
    • Confirm that colab is not being served any longer. Confirm that all docker instances have been stopped.