Skip to content

ak4nv/boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple boilerplate for web apps

This is a simple boilerplate for web apps (aka SPA — Single Page Applications) with minimum dependencies. Ideally for start a new project like an internal information system.

Dependencies

Install

git clone git@github.com:ak04nv/boilerplate.git
cd boilerplate
virtualenv -p python3 --prompt="(boilerplate) " .env
. .env/bin/activate
pip install -r requirements.txt
export FLASK_APP=wsgi.py
export FLASK_DEBUG=1
flask run

Open http://localhost:5000 in your browser and use admin:admin for log in.

Commands

# Initialize database (create tables)
# Key --drop boolean for drop table if exists (default is False)

flask initdb --drop True

# Create superuser
flask createsuperuser

About

Simple boilerplate for web apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published