Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.73 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.73 KB

Library management system on Django and Vue.js

CI/CD pytest-cov

MVP Goal & Requirements

Check out the MVP Goal & Requirements

Demo

Member orders a book

Member orders a book

Librarian processes the order

Librarian processes the order

Project setup

Tool versions

Check tool-versions

Clone project(s) locally

git clone  [email protected]:peacefulseeker/django-libraryms.git ./local-project-dir

cd ./local-project-dir
cp src/core/.env.ci src/core/.env

Set DEBUG=true and other env variables such as DATABASE_URL in src/core/.env to match your local environment needs.

Build backend

# Installs poetry, collects static assets, runs migrations
make build_backend

# create superuser
poetry run python src/manage.py createsuperuser

Build frontend locally

# clone to frontend folder (gitignored)
git clone [email protected]:peacefulseeker/django-libraryms-frontend.git ./local-project-dir/frontend

# this will prepare assets as for production env
make build_frontend

Run server in development mode

make server

Run server in production mode

# builds frontend assets & collects static
make build_static
# runs gunicorn server against localhost:7070 in non-debug mode
make prodserver

Further plans

Check out the TODO