From cbe491f1afd5123b21c81df67e11b5b04fa4a153 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 18 Sep 2019 13:04:44 +1000 Subject: [PATCH] reorganised directory structure --- config.sample.json => app/config.sample.json | 0 functions.py => app/functions.py | 0 scrape.py => app/scrape.py | 0 service.py => app/service.py | 0 {static => app/static}/bot_generic.png | Bin {static => app/static}/favicon.ico | Bin {static => app/static}/style.css | 0 {templates => app/templates}/about.html | 0 {templates => app/templates}/bot_accounts.html | 0 {templates => app/templates}/bot_accounts_add.html | 0 .../templates}/bot_accounts_delete.html | 0 {templates => app/templates}/bot_create.html | 0 {templates => app/templates}/bot_delete.html | 0 {templates => app/templates}/bot_edit.html | 0 {templates => app/templates}/coming_soon.html | 0 {templates => app/templates}/error.html | 0 {templates => app/templates}/footer.html | 0 {templates => app/templates}/front_page.html | 0 {templates => app/templates}/help_settings.html | 0 {templates => app/templates}/home.html | 0 {templates => app/templates}/imports.html | 0 {templates => app/templates}/login.html | 0 {templates => app/templates}/report_bug.html | 0 {templates => app/templates}/settings.html | 0 {templates => app/templates}/success.html | 0 {templates => app/templates}/welcome.html | 0 webui.py => app/webui.py | 0 wsgi.py => app/wsgi.py | 0 setup.sql => db/setup.sql | 0 run.sh | 2 ++ 30 files changed, 2 insertions(+) rename config.sample.json => app/config.sample.json (100%) rename functions.py => app/functions.py (100%) rename scrape.py => app/scrape.py (100%) rename service.py => app/service.py (100%) rename {static => app/static}/bot_generic.png (100%) rename {static => app/static}/favicon.ico (100%) rename {static => app/static}/style.css (100%) rename {templates => app/templates}/about.html (100%) rename {templates => app/templates}/bot_accounts.html (100%) rename {templates => app/templates}/bot_accounts_add.html (100%) rename {templates => app/templates}/bot_accounts_delete.html (100%) rename {templates => app/templates}/bot_create.html (100%) rename {templates => app/templates}/bot_delete.html (100%) rename {templates => app/templates}/bot_edit.html (100%) rename {templates => app/templates}/coming_soon.html (100%) rename {templates => app/templates}/error.html (100%) rename {templates => app/templates}/footer.html (100%) rename {templates => app/templates}/front_page.html (100%) rename {templates => app/templates}/help_settings.html (100%) rename {templates => app/templates}/home.html (100%) rename {templates => app/templates}/imports.html (100%) rename {templates => app/templates}/login.html (100%) rename {templates => app/templates}/report_bug.html (100%) rename {templates => app/templates}/settings.html (100%) rename {templates => app/templates}/success.html (100%) rename {templates => app/templates}/welcome.html (100%) rename webui.py => app/webui.py (100%) rename wsgi.py => app/wsgi.py (100%) rename setup.sql => db/setup.sql (100%) diff --git a/config.sample.json b/app/config.sample.json similarity index 100% rename from config.sample.json rename to app/config.sample.json diff --git a/functions.py b/app/functions.py similarity index 100% rename from functions.py rename to app/functions.py diff --git a/scrape.py b/app/scrape.py similarity index 100% rename from scrape.py rename to app/scrape.py diff --git a/service.py b/app/service.py similarity index 100% rename from service.py rename to app/service.py diff --git a/static/bot_generic.png b/app/static/bot_generic.png similarity index 100% rename from static/bot_generic.png rename to app/static/bot_generic.png diff --git a/static/favicon.ico b/app/static/favicon.ico similarity index 100% rename from static/favicon.ico rename to app/static/favicon.ico diff --git a/static/style.css b/app/static/style.css similarity index 100% rename from static/style.css rename to app/static/style.css diff --git a/templates/about.html b/app/templates/about.html similarity index 100% rename from templates/about.html rename to app/templates/about.html diff --git a/templates/bot_accounts.html b/app/templates/bot_accounts.html similarity index 100% rename from templates/bot_accounts.html rename to app/templates/bot_accounts.html diff --git a/templates/bot_accounts_add.html b/app/templates/bot_accounts_add.html similarity index 100% rename from templates/bot_accounts_add.html rename to app/templates/bot_accounts_add.html diff --git a/templates/bot_accounts_delete.html b/app/templates/bot_accounts_delete.html similarity index 100% rename from templates/bot_accounts_delete.html rename to app/templates/bot_accounts_delete.html diff --git a/templates/bot_create.html b/app/templates/bot_create.html similarity index 100% rename from templates/bot_create.html rename to app/templates/bot_create.html diff --git a/templates/bot_delete.html b/app/templates/bot_delete.html similarity index 100% rename from templates/bot_delete.html rename to app/templates/bot_delete.html diff --git a/templates/bot_edit.html b/app/templates/bot_edit.html similarity index 100% rename from templates/bot_edit.html rename to app/templates/bot_edit.html diff --git a/templates/coming_soon.html b/app/templates/coming_soon.html similarity index 100% rename from templates/coming_soon.html rename to app/templates/coming_soon.html diff --git a/templates/error.html b/app/templates/error.html similarity index 100% rename from templates/error.html rename to app/templates/error.html diff --git a/templates/footer.html b/app/templates/footer.html similarity index 100% rename from templates/footer.html rename to app/templates/footer.html diff --git a/templates/front_page.html b/app/templates/front_page.html similarity index 100% rename from templates/front_page.html rename to app/templates/front_page.html diff --git a/templates/help_settings.html b/app/templates/help_settings.html similarity index 100% rename from templates/help_settings.html rename to app/templates/help_settings.html diff --git a/templates/home.html b/app/templates/home.html similarity index 100% rename from templates/home.html rename to app/templates/home.html diff --git a/templates/imports.html b/app/templates/imports.html similarity index 100% rename from templates/imports.html rename to app/templates/imports.html diff --git a/templates/login.html b/app/templates/login.html similarity index 100% rename from templates/login.html rename to app/templates/login.html diff --git a/templates/report_bug.html b/app/templates/report_bug.html similarity index 100% rename from templates/report_bug.html rename to app/templates/report_bug.html diff --git a/templates/settings.html b/app/templates/settings.html similarity index 100% rename from templates/settings.html rename to app/templates/settings.html diff --git a/templates/success.html b/app/templates/success.html similarity index 100% rename from templates/success.html rename to app/templates/success.html diff --git a/templates/welcome.html b/app/templates/welcome.html similarity index 100% rename from templates/welcome.html rename to app/templates/welcome.html diff --git a/webui.py b/app/webui.py similarity index 100% rename from webui.py rename to app/webui.py diff --git a/wsgi.py b/app/wsgi.py similarity index 100% rename from wsgi.py rename to app/wsgi.py diff --git a/setup.sql b/db/setup.sql similarity index 100% rename from setup.sql rename to db/setup.sql diff --git a/run.sh b/run.sh index ea047af..4c23dd6 100755 --- a/run.sh +++ b/run.sh @@ -1 +1,3 @@ +cd app env FLASK_APP=webui.py flask run +cd ..