#!./bin/python/bin/python import os, sys sys.path.append('src') sys.path.append('secure') from sagepad.frontend.app import app # app.config.from_pyfile(os.path.join(os.getcwd(), 'secure', 'flask_config.py')) app.config.from_object('flask_config') if __name__ == '__main__': app.run()
#!./bin/python/bin/python import os, sys sys.path.append('src') sys.path.append('secure') from sagepad.frontend.app import app # app.config.from_pyfile(os.path.join(os.getcwd(), 'secure', 'flask_config.py')) app.config.from_object('flask_config') if __name__ == '__main__': app.run(debug=True, port=8080, host='localhost')