diff --git a/app/__init__.py b/app/__init__.py new file mode 100644 index 0000000..771c761 --- /dev/null +++ b/app/__init__.py @@ -0,0 +1,4 @@ +from flask import Flask +app = Flask(__name__) + +from . import * diff --git a/app/routes.py b/app/routes.py new file mode 100644 index 0000000..f8f01c4 --- /dev/null +++ b/app/routes.py @@ -0,0 +1,7 @@ +from . import app +from flask import render_template + + +@app.route("/") +def index(): + return render_template('index.jinja2') diff --git a/project/static/config.rb b/app/static/config.rb similarity index 100% rename from project/static/config.rb rename to app/static/config.rb diff --git a/project/static/fonts/glyphicons-halflings-regular.eot b/app/static/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from project/static/fonts/glyphicons-halflings-regular.eot rename to app/static/fonts/glyphicons-halflings-regular.eot diff --git a/project/static/fonts/glyphicons-halflings-regular.svg b/app/static/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from project/static/fonts/glyphicons-halflings-regular.svg rename to app/static/fonts/glyphicons-halflings-regular.svg diff --git a/project/static/fonts/glyphicons-halflings-regular.ttf b/app/static/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from project/static/fonts/glyphicons-halflings-regular.ttf rename to app/static/fonts/glyphicons-halflings-regular.ttf diff --git a/project/static/fonts/glyphicons-halflings-regular.woff b/app/static/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from project/static/fonts/glyphicons-halflings-regular.woff rename to app/static/fonts/glyphicons-halflings-regular.woff diff --git a/project/static/javascripts/bootstrap.min.js b/app/static/javascripts/bootstrap.min.js similarity index 100% rename from project/static/javascripts/bootstrap.min.js rename to app/static/javascripts/bootstrap.min.js diff --git a/project/static/sass/_alerts.sass b/app/static/sass/_alerts.sass similarity index 100% rename from project/static/sass/_alerts.sass rename to app/static/sass/_alerts.sass diff --git a/project/static/sass/_badges.sass b/app/static/sass/_badges.sass similarity index 100% rename from project/static/sass/_badges.sass rename to app/static/sass/_badges.sass diff --git a/project/static/sass/_breadcrumbs.sass b/app/static/sass/_breadcrumbs.sass similarity index 100% rename from project/static/sass/_breadcrumbs.sass rename to app/static/sass/_breadcrumbs.sass diff --git a/project/static/sass/_button-groups.sass b/app/static/sass/_button-groups.sass similarity index 100% rename from project/static/sass/_button-groups.sass rename to app/static/sass/_button-groups.sass diff --git a/project/static/sass/_buttons.sass b/app/static/sass/_buttons.sass similarity index 100% rename from project/static/sass/_buttons.sass rename to app/static/sass/_buttons.sass diff --git a/project/static/sass/_carousel.sass b/app/static/sass/_carousel.sass similarity index 100% rename from project/static/sass/_carousel.sass rename to app/static/sass/_carousel.sass diff --git a/project/static/sass/_close.sass b/app/static/sass/_close.sass similarity index 100% rename from project/static/sass/_close.sass rename to app/static/sass/_close.sass diff --git a/project/static/sass/_code.sass b/app/static/sass/_code.sass similarity index 100% rename from project/static/sass/_code.sass rename to app/static/sass/_code.sass diff --git a/project/static/sass/_component-animations.sass b/app/static/sass/_component-animations.sass similarity index 100% rename from project/static/sass/_component-animations.sass rename to app/static/sass/_component-animations.sass diff --git a/project/static/sass/_dropdowns.sass b/app/static/sass/_dropdowns.sass similarity index 100% rename from project/static/sass/_dropdowns.sass rename to app/static/sass/_dropdowns.sass diff --git a/project/static/sass/_forms.sass b/app/static/sass/_forms.sass similarity index 100% rename from project/static/sass/_forms.sass rename to app/static/sass/_forms.sass diff --git a/project/static/sass/_glyphicons.sass b/app/static/sass/_glyphicons.sass similarity index 100% rename from project/static/sass/_glyphicons.sass rename to app/static/sass/_glyphicons.sass diff --git a/project/static/sass/_grid.sass b/app/static/sass/_grid.sass similarity index 100% rename from project/static/sass/_grid.sass rename to app/static/sass/_grid.sass diff --git a/project/static/sass/_input-groups.sass b/app/static/sass/_input-groups.sass similarity index 100% rename from project/static/sass/_input-groups.sass rename to app/static/sass/_input-groups.sass diff --git a/project/static/sass/_jumbotron.sass b/app/static/sass/_jumbotron.sass similarity index 100% rename from project/static/sass/_jumbotron.sass rename to app/static/sass/_jumbotron.sass diff --git a/project/static/sass/_labels.sass b/app/static/sass/_labels.sass similarity index 100% rename from project/static/sass/_labels.sass rename to app/static/sass/_labels.sass diff --git a/project/static/sass/_list-group.sass b/app/static/sass/_list-group.sass similarity index 100% rename from project/static/sass/_list-group.sass rename to app/static/sass/_list-group.sass diff --git a/project/static/sass/_media.sass b/app/static/sass/_media.sass similarity index 100% rename from project/static/sass/_media.sass rename to app/static/sass/_media.sass diff --git a/project/static/sass/_mixins.sass b/app/static/sass/_mixins.sass similarity index 100% rename from project/static/sass/_mixins.sass rename to app/static/sass/_mixins.sass diff --git a/project/static/sass/_modals.sass b/app/static/sass/_modals.sass similarity index 100% rename from project/static/sass/_modals.sass rename to app/static/sass/_modals.sass diff --git a/project/static/sass/_navbar.sass b/app/static/sass/_navbar.sass similarity index 100% rename from project/static/sass/_navbar.sass rename to app/static/sass/_navbar.sass diff --git a/project/static/sass/_navs.sass b/app/static/sass/_navs.sass similarity index 100% rename from project/static/sass/_navs.sass rename to app/static/sass/_navs.sass diff --git a/project/static/sass/_normalize.sass b/app/static/sass/_normalize.sass similarity index 100% rename from project/static/sass/_normalize.sass rename to app/static/sass/_normalize.sass diff --git a/project/static/sass/_pager.sass b/app/static/sass/_pager.sass similarity index 100% rename from project/static/sass/_pager.sass rename to app/static/sass/_pager.sass diff --git a/project/static/sass/_pagination.sass b/app/static/sass/_pagination.sass similarity index 100% rename from project/static/sass/_pagination.sass rename to app/static/sass/_pagination.sass diff --git a/project/static/sass/_panels.sass b/app/static/sass/_panels.sass similarity index 100% rename from project/static/sass/_panels.sass rename to app/static/sass/_panels.sass diff --git a/project/static/sass/_popovers.sass b/app/static/sass/_popovers.sass similarity index 100% rename from project/static/sass/_popovers.sass rename to app/static/sass/_popovers.sass diff --git a/project/static/sass/_print.sass b/app/static/sass/_print.sass similarity index 100% rename from project/static/sass/_print.sass rename to app/static/sass/_print.sass diff --git a/project/static/sass/_progress-bars.sass b/app/static/sass/_progress-bars.sass similarity index 100% rename from project/static/sass/_progress-bars.sass rename to app/static/sass/_progress-bars.sass diff --git a/project/static/sass/_responsive-utilities.sass b/app/static/sass/_responsive-utilities.sass similarity index 100% rename from project/static/sass/_responsive-utilities.sass rename to app/static/sass/_responsive-utilities.sass diff --git a/project/static/sass/_scaffolding.sass b/app/static/sass/_scaffolding.sass similarity index 100% rename from project/static/sass/_scaffolding.sass rename to app/static/sass/_scaffolding.sass diff --git a/project/static/sass/_tables.sass b/app/static/sass/_tables.sass similarity index 100% rename from project/static/sass/_tables.sass rename to app/static/sass/_tables.sass diff --git a/project/static/sass/_theme.sass b/app/static/sass/_theme.sass similarity index 100% rename from project/static/sass/_theme.sass rename to app/static/sass/_theme.sass diff --git a/project/static/sass/_thumbnails.sass b/app/static/sass/_thumbnails.sass similarity index 100% rename from project/static/sass/_thumbnails.sass rename to app/static/sass/_thumbnails.sass diff --git a/project/static/sass/_tooltip.sass b/app/static/sass/_tooltip.sass similarity index 100% rename from project/static/sass/_tooltip.sass rename to app/static/sass/_tooltip.sass diff --git a/project/static/sass/_type.sass b/app/static/sass/_type.sass similarity index 100% rename from project/static/sass/_type.sass rename to app/static/sass/_type.sass diff --git a/project/static/sass/_utilities.sass b/app/static/sass/_utilities.sass similarity index 100% rename from project/static/sass/_utilities.sass rename to app/static/sass/_utilities.sass diff --git a/project/static/sass/_variables.sass b/app/static/sass/_variables.sass similarity index 100% rename from project/static/sass/_variables.sass rename to app/static/sass/_variables.sass diff --git a/project/static/sass/_wells.sass b/app/static/sass/_wells.sass similarity index 100% rename from project/static/sass/_wells.sass rename to app/static/sass/_wells.sass diff --git a/project/static/sass/bootstrap.sass b/app/static/sass/bootstrap.sass similarity index 100% rename from project/static/sass/bootstrap.sass rename to app/static/sass/bootstrap.sass diff --git a/project/static/stylesheets/bootstrap.css b/app/static/stylesheets/bootstrap.css similarity index 100% rename from project/static/stylesheets/bootstrap.css rename to app/static/stylesheets/bootstrap.css diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..7e10602 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +flask diff --git a/run.py b/run.py new file mode 100644 index 0000000..956db43 --- /dev/null +++ b/run.py @@ -0,0 +1,2 @@ +from app import app +app.run(debug=True)