From f53efeb564e5c23821f1cb58dc8c8b1da80fb06d Mon Sep 17 00:00:00 2001 From: "Simon V. Lejel" Date: Fri, 11 Mar 2022 16:33:46 +0100 Subject: [PATCH 1/2] Update .gitignore --- .gitignore | 8 ++++++++ .idea/.gitignore | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 .idea/.gitignore diff --git a/.gitignore b/.gitignore index 55be276..ef72eb0 100644 --- a/.gitignore +++ b/.gitignore @@ -152,3 +152,11 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +# Pycharm specific files +/.idea/image-host-server.iml +/.idea/sonarlint/issuestore/index.pb +/.idea/misc.xml +/.idea/modules.xml +/.idea/inspectionProfiles/profiles_settings.xml +/.idea/vcs.xml +/.idea/watcherTasks.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml From 8e904e794de73afb62a4aaffed6594f0abdf643f Mon Sep 17 00:00:00 2001 From: "Simon V. Lejel" Date: Fri, 11 Mar 2022 16:33:55 +0100 Subject: [PATCH 2/2] Add basic files --- app.py | 11 +++++++++++ static/css/styles.scss | 0 templates/home.html | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 app.py create mode 100644 static/css/styles.scss create mode 100644 templates/home.html diff --git a/app.py b/app.py new file mode 100644 index 0000000..de3ce5f --- /dev/null +++ b/app.py @@ -0,0 +1,11 @@ +from flask import Flask, render_template + +app = Flask(__name__) + + +@app.route('/') +def hello_world(): # put application's code here + return render_template('home.html') + +if __name__ == '__main__': + app.run(host='0.0.0.0') diff --git a/static/css/styles.scss b/static/css/styles.scss new file mode 100644 index 0000000..e69de29 diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..001d90f --- /dev/null +++ b/templates/home.html @@ -0,0 +1,10 @@ + + + + + DCSL Image Hosting Server + + + + + \ No newline at end of file