Browse Source

update readme already lmao

main
xenua 2 years ago
parent
commit
cb444f817b
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 5
      README.md

5
README.md

@ -8,8 +8,7 @@ a tiny link shortener (& maybe pastebin in the future)
^V needs a postgresql database. for ssl, run it behind a reverse proxy like nginx. ^V needs a postgresql database. for ssl, run it behind a reverse proxy like nginx.
all config is done through env vars (.env file works too): here's a list of them all config is done through env vars/.env file:
(which may be incomplete. the full list can be found at the start of the main() function in src/main.rs)
| var | default | description | | var | default | description |
|----------------:|:---------------------------------|:---------------------------------------------------------------------------------------------| |----------------:|:---------------------------------|:---------------------------------------------------------------------------------------------|
@ -20,6 +19,8 @@ all config is done through env vars (.env file works too): here's a list of them
| V_ID_GEN_LENGTH | 6 | length of the generated ids (again, manually set ids don't care.) | | V_ID_GEN_LENGTH | 6 | length of the generated ids (again, manually set ids don't care.) |
| V_DEV_TEST_DATA | | whether or not to generate a `dev` user with some test data; probably only useful for devs | | V_DEV_TEST_DATA | | whether or not to generate a `dev` user with some test data; probably only useful for devs |
(this list may be incomplete. the full list can be found at the start of the main() function in src/main.rs)
## dev info ## dev info
if you want to tinker with ^V, here's some pointers if you want to tinker with ^V, here's some pointers

Loading…
Cancel
Save