Skip to content

Commit

Permalink
First commit, Dashboard made using Bootstrap and Flask in python for …
Browse files Browse the repository at this point in the history
…the backend. In the Bootstrap package, CSS,JavaScript, and HTML are used. Chart.js is used for the plots. Nothing but the data is interactive at the moment. This version is only a stylistic prototype.
  • Loading branch information
alexagriffith committed Apr 19, 2019
1 parent f1b8129 commit f137651
Show file tree
Hide file tree
Showing 1,747 changed files with 165,824 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added myExpressApp/.DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions myExpressApp/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions myExpressApp/.idea/libraries/R_User_Library.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions myExpressApp/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions myExpressApp/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions myExpressApp/.idea/myExpressApp.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions myExpressApp/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions myExpressApp/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions myExpressApp/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: Remote Attach",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
]
},
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "enter-your-module-name-here",
"console": "integratedTerminal"
},
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"console": "integratedTerminal",
"args": [
"runserver",
"--noreload",
"--nothreading"
],
"django": true
},
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app.py"
},
"args": [
"run",
"--no-debugger",
"--no-reload"
],
"jinja": true
},
{
"name": "Python: Current File (External Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "externalTerminal"
}
]
}
Binary file added myExpressApp/__pycache__/app.cpython-37.pyc
Binary file not shown.
27 changes: 27 additions & 0 deletions myExpressApp/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#! /usr/bin/env python3

# importing flask and pusher
from flask import Flask, render_template, request
from pusher import Pusher

app = Flask(__name__)

# for building a live app... may not need later
# configure pusher object
#pusher = Pusher(app_id='PUSHER_APP_ID',
# key='PUSHER_APP_KEY',
# secret='PUSHER_APP_SECRET',
# cluster='PUSHER_APP_CLUSTER',
# ssl=True)


#@app.route('/')
#def index():
# return render_template('index.html')

#@app.route('/dashboard')
#def dashboard():
# return render_template('dashboard.html')

if __name__ == '__main__':
app.run(debug = True)
Loading

0 comments on commit f137651

Please sign in to comment.