An events agenda app for a DIY music venue, built with SvelteKit.
A PostgreSQL database server needs to be running (locally or remotely) so that the website can fetch/store data.
It can be set up using a Docker container or a manual PostgreSQL installation.
- Create a
docker-compose.ymlfile with desired database credentials (seedocker-compose.yml.example). - Run the database container:
npm run db:startOnce the database is running:
- Create a
.envfile containing database connection string (see.env.example). - Build the database schema. Agree to execute all statements when asked.
npm run db:migrateAny changes made to the schema during development can be synced by running:
npm run db:pushOnce you've cloned the repository, set up the database and installed dependencies with npm install, start a development server:
npm run dev