-
git clone this
-
Install PostgreSQL on your computer, or sign up for a hosted instance
-
Create a database (e.g., 'containers')
-
Open a PSQL window and paste in the schema (from
schema.sql
) in it.- If you are exporting a SQLite3 DB, you need to tweak it before it will work.
-
create
.env
file with contentsPGCONNECT=postgres://bjmckenz@localhost:5432/containers
in the project root (NOT inside SRC)- Substitute at least your name, and perhaps where your DB is installed.
5.5. I recommend installing the "PostgreSQL" VSCode extension by Weijan Chen so you can investigate the DB.
-
npm install
-
npm run dev
Comments and feedback welcome!