A semantic search engine for source code https://bitshift.benkurtovic.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
438 B

  1. """
  2. Module to contain all the project's Flask server plumbing.
  3. """
  4. from flask import Flask
  5. from flask import render_template, session
  6. from bitshift import *
  7. app = Flask(__name__)
  8. app.config.from_object("bitshift.config")
  9. app_env = app.jinja_env
  10. app_env.line_statement_prefix = "="
  11. app_env.globals.update(assets = assets)
  12. @app.route("/")
  13. def index():
  14. return render_template("index.html")
  15. if __name__ == "__main__":
  16. app.run()