Skip to content

Baa123124/DV1703_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tent Rental For Course DV1703 (Flask + PostgreSQL)

Run

  1. Install deps (Including postgre DB)
  2. Create .env and add "DATABASE_URL, "
  3. Create DB and apply schema_postgres.sql
  4. flask --app run.py --debug run

Seeding (demo data)

This project includes a small seed script that:

  • creates an admin account: karl.wikell@gmail.com (password: DV1703)
  • creates an customer for testing: hej.hej@hej.hej (password: DV1703)
  • inserts demo tents and furnishings into the inventory

Run it after you’ve applied schema_postgres.sql and set DATABASE_URL:

`python seed.py`

About

DV1703 course project repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors