Add setup (this is only temporary for the hackathon)

This commit is contained in:
Fabio Giovanazzi 2025-08-01 20:43:04 +02:00
parent f83a5e90ae
commit 447a52b684
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
7 changed files with 10936 additions and 2 deletions

View file

@ -10,3 +10,15 @@ There is a [changelog](CHANGELOG.md) available with the most important changes d
*Please note that this project is released with a [Code of Conduct](CODE_OF_CONDUCT.md) that applies to all project-related communication. By participating in this project you agree to abide by its terms.*
*You can support c3nav development [on Patreon](https://www.patreon.com/c3nav).*
## Setup guide for Hackathon Schenna
- `./install.sh` installs the env
- `./start_db.sh` recreates the DB and runs the server
- `./start_db.sh skipdb` runs the server without recreating the DB
<!-- - `./start_db.sh` to setup a local psql docker db
- `export C3NAV_DATABASE=postgres://mindshub:test@localhost:5432/insignorocketdb` in the repo (otherwise server uses sqlite!)
- Follow https://github.com/c3nav/c3nav/wiki#install-as-local-small-instance-without-containers (as local small instance without containers)
- `yay -S librsvg`
- `pip install psycopg2` to use Postgresql -->