suryakant54321 / Flask-Easy-Template

A template web app with Flask. Features: latest bootstrap, user registry, login, forgot password. Secured admin panel, pagination, config files for Nginx and Supervisor and much more.

Home Page:http://androidadvance.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Easy-Template

Save time on your initial setup. This is a template app that includes the most important things you'll be probably using for your flask projects.

You can change the theme just by replacing one word in base.html

Features:

  • Latest bootstrap template, modernizer, jquery etc. latest, served from content delivery networks.
  • User Registry, Login & Forgot Password
  • Email integration with SendGrid & a contact form with recaptcha
  • A sample tasks database with SQLALchemy with Pagination

How to use it:

  • git clone https://github.com/AndreiD/Flask-Easy-Template.git <project_name> or download the zip
  • pip install -r requirements.txt
  • python run.py -> http://server_ip:5000
Things to do after:
  • check the config.py
  • in run.py edit the port of the app (Default: 5000)

For templates edit /app/templates/base.html

{% set bootstrap_version = '3.3.4' %} {% set jquery_version = '2.1.3' %} {% set modernizer_version = '2.8.3' %} {% set bootswatch_version = '3.3.2' %} {% set bootswatch_theme = 'slate' %}

In case you don't like the "slate" theme, you can chose a nice theme from http://bootswatch.com/ and just replace the theme name

About Stars

Starring a repository allows you to keep track of projects that you find interesting, even if you aren't associated with the project.

When you star a repository, you're actually performing two distinct actions:

Creating a bookmark for easier access Showing appreciation to the repository maintainer for their work

Extras for you:
  • a supervisord.conf [supervisor is used to monitor the web application and restart it, also starts the app in case you restart your server]
  • a simple nginx.conf
  • after you go into production, uncomment the settings from run.py for the best performance

Your Feedback is appreciated :)

License: Apache 2.0
Copyright 2015 AndroidAdvance.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.

About

A template web app with Flask. Features: latest bootstrap, user registry, login, forgot password. Secured admin panel, pagination, config files for Nginx and Supervisor and much more.

http://androidadvance.com


Languages

Language:HTML 57.7%Language:Python 39.3%Language:JavaScript 2.4%Language:CSS 0.6%