Skip to content

Use react-flask to build small library management system

Notifications You must be signed in to change notification settings

letfly/cau-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev environment

Front-end

cd book/static/js
npm install
webpack

Back-end

dependencies

mkvirtualenv book
pip install -r requirements.txt

run

python manage.py server

db

sudo -u postgres psql -c "CREATE USER book WITH PASSWORD 'book';"
sudo -u postgres psql -c "CREATE DATABASE book OWNER book;"
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE book to book;"

migrate

python manage.py db upgrade

About

Use react-flask to build small library management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published