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:
parent
2132f6b8cf
commit
5a8de27120
2 changed files with 15 additions and 2 deletions
6
.env.example
Normal file
6
.env.example
Normal 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
|
11
README.md
11
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue