Commit 39dbcc97 authored by Mitchell Moore's avatar Mitchell Moore
Browse files

Fixed variable in Updated Readme

- Fix var in
- add image resource
- Update readme
- Remove old diagram
parent 3d89ed5e
......@@ -68,4 +68,4 @@ $ python ohpc
You should now see that the message has been sent and displayed on the ohpc node.
- **Note,** that the `` script is identical to the code within the `ingest_data()` function in ``.
\ No newline at end of file
......@@ -14,19 +14,14 @@ def create_app(config_name):
app = Flask(__name__) # initialization of the flask app
Bootstrap(app) # allowing app to use bootstrap
global return_url
return_url = ''
@app.route('/', methods=['GET', 'POST']) # initial route to display the reg page
def index():
global return_url
if 'uid' not in session:
if "redir" in request.args and return_url == "": # check for redir arg in url
return_url = request.args.get("redir") or "/pun/sys/dashboard"
if name != "":
if "redir" in request.args and 'return_url' not in session: # check for redir arg in url
session['return_url'] = request.args.get("redir") or "/pun/sys/dashboard"
return render_template('auth/SignUp.html', room_id=session['uid'])
......@@ -18,9 +18,6 @@ app = create_app(config_name)
app.config['SECRET_KEY'] = 'vnkdjnfjknfl1232#'
socketio = SocketIO(app, message_queue='amqp://reggie:reggie@ohpc:5672/socketio')
def socket_connect():
def on_room():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment