Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To install the dependence libraries by pip Update the README and using markdown format it
- Loading branch information
Showing
4 changed files
with
53 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -7,3 +7,5 @@ | ||
*.pid | *.pid | ||
*.db | *.db | ||
*.swp | *.swp | ||
# virtualenv | |||
env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
A team blog based on [Flask](http://flask.pocoo.org/) | |||
=== | |||
|
|||
Thanks for flask_website and newsmeme at [http://flask.pocoo.org/community/poweredby/] | |||
|
|||
##Install | |||
|
|||
###Prerequisite | |||
|
|||
pip install -r requirements.txt | |||
|
|||
###Custom the Configuration | |||
|
|||
pypress/config.cfg | |||
|
|||
###Sync database | |||
|
|||
python manage.py createall | |||
|
|||
###Run | |||
|
|||
python manage.py runserver | |||
|
|||
##Example | |||
###Create Users | |||
|
|||
Admin: | |||
|
|||
python manage.py createcode -r admin | |||
|
|||
Create three members in a batch: | |||
|
|||
python manage.py createcode -r member -n 3 | |||
|
|||
###Signup | |||
|
|||
http://localhost:8080/account/signup/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
Flask | |||
Flask-OAuth | |||
Flask-Cache | |||
Flask-SQLAlchemy | |||
Flask-Principal | |||
Flask-WTF | |||
Flask-Mail | |||
Flask-Script | |||
Flask-Babel | |||
Flask-Themes | |||
Flask-Uploads | |||
pygments | |||
markdown | |||
blinker |