Skip to content

Commit

Permalink
Merge pull request #263 from flask-dashboard/doc-fix
Browse files Browse the repository at this point in the history
fix wording
  • Loading branch information
FlyingBird95 committed Oct 9, 2019
2 parents 1a075a3 + fd1b1eb commit 6330c1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If you run into trouble migrating from version 1.X.X to version 2.0.0, this site
![Screenshot 5](/docs/img/ss5.png)

## Development
If you like our project, and willing to contribute, you can get started by running the following command:
If you like our project, and willing to contribute, you can get started by cloning it and then running the following command:

. ./config/install.sh

Expand Down
14 changes: 11 additions & 3 deletions flask_monitoringdashboard/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
"""
This file can be executed for developing purposes.
It is not used when the flask_monitoring_dashboard is attached to an existing flask application.
To run use
python main.py
Note: This is not used when the flask_monitoring_dashboard
is attached to your flask application.
"""
import random
import time
Expand All @@ -21,10 +26,10 @@
dashboard.bind(app)


@app.route('/endpointd')
@app.route('/endpoint')
def endpoint():
print("Hello, world")
return 'Ok2d'
return 'Ok'


@app.route('/endpoint2')
Expand Down Expand Up @@ -57,3 +62,6 @@ def endpoint5():
def my_func():
# here should be something actually useful
return 33.3


app.run()

0 comments on commit 6330c1c

Please sign in to comment.