import os
from flask import Flask, redirect, request, render_template
from flask_mail import Mail, Message

app = Flask (__name__)
ALLOWED_EXTENSIONS = set(['txt', 'png', 'jpg', 'jpeg'])
mail = Mail(app)

@app.route("/")
def index():
    return render_template('in-development.html.j2')

if __name__ == "__main__":
    app.run(host='0.0.0.0')

import os
from flask import Flask, redirect, request, render_template
from flask_mail import Mail, Message

app = Flask (__name__)
ALLOWED_EXTENSIONS = set(['txt', 'png', 'jpg', 'jpeg'])
mail = Mail(app)

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

if __name__ == "__main__":
    app.run()

Split into new branch for development of the main site
Split into new branch for development of the main site

  import os
  from flask import Flask, redirect, request, render_template
  from flask_mail import Mail, Message
  
  app = Flask (__name__)
  ALLOWED_EXTENSIONS = set(['txt', 'png', 'jpg', 'jpeg'])
  mail = Mail(app)
  
  @app.route("/")
  def index():
-     return render_template('in-development.html.j2')
+     return render_template('index.html.j2')
  
  if __name__ == "__main__":
-     app.run(host='0.0.0.0')
+     app.run()
  
Split into new branch for development of the main site
## Code Before:
import os
from flask import Flask, redirect, request, render_template
from flask_mail import Mail, Message

app = Flask (__name__)
ALLOWED_EXTENSIONS = set(['txt', 'png', 'jpg', 'jpeg'])
mail = Mail(app)

@app.route("/")
def index():
    return render_template('in-development.html.j2')

if __name__ == "__main__":
    app.run(host='0.0.0.0')

## Instruction:
Split into new branch for development of the main site
## Code After:
import os
from flask import Flask, redirect, request, render_template
from flask_mail import Mail, Message

app = Flask (__name__)
ALLOWED_EXTENSIONS = set(['txt', 'png', 'jpg', 'jpeg'])
mail = Mail(app)

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

if __name__ == "__main__":
    app.run()
