1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Update README (closes #1)

This commit is contained in:
Steffo 2022-06-05 17:58:46 +02:00
parent 2132f6b8cf
commit 5a8de27120
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 15 additions and 2 deletions

6
.env.example Normal file
View file

@ -0,0 +1,6 @@
DATABASE_URL=postgresql://steffo@localhost/festa?host=/var/run/postgresql
FESTA_TOKEN_EXPIRATION_MS=86400000
TELEGRAM_TOKEN=YOUR-BOT-TOKEN
TELEGRAM_HASH_EXPIRATION_MS=300000
NEXT_PUBLIC_TELEGRAM_USERNAME=YOUR-BOT-USERNAME

View file

@ -8,6 +8,13 @@ Run:
```console
$ yarn install
$ yarn dev
$ open http://nitro.localhost
$ edit .env.local
$ yarn app:dev
$ open http://local.steffo.eu
```
> Sadly `http://local.steffo.eu/` points to a 192.168.1.* address, which means you won't be able to login anyways unless you have that exact same address :|
### Using Visual Studio Code
Configure your `.env.local` file, then run the `Everything!` run configuration.