Skip to content

ricardoChen93/Zhihu_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zhihu_Demo

Simple Zhihu Demo By Flask

Installation

  1. Install pip and mysql
  2. Make a virtualenv for this project
  3. Install the required dependencies: pip install -r requirements/dev.txt
  4. Edit config.py: change 'db_user' and 'db_passwd' to your mysql account
  5. Initialize data: mysql -u root -p < initial.sql

Run

python manage.py run

goto: http://127.0.0.1:5000/

About

Simple Zhihu Demo By Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published