+26
-10
README.md
+26
-10
README.md
···-A very performant and light (2MB in memory) link shortener and tracker. Written in Rust and React and uses Postgres.+A very performant and light (2MB in memory) link shortener and tracker. Written in Rust and React and uses Postgres or SQLite.···-Find the admin-setup-token pasted into the terminal output, or in admin-setup-token.txt in the container's root.+- `SIMPLELINK_USER`: Optional. If set along with SIMPLELINK_PASS, creates an admin user on first run+- `INITIAL_LINKS`: Optional. Semicolon-separated list of initial links in format "url,code;url2,code2"+If `SIMPLELINK_USER` and `SIMPLELINK_PASS` are not passed, an admin-setup-token is pasted to the console and as a text file in the project root.···-If DATABASE_URL is set, it will connect to a Postgres DB. If blank, it will use an sqlite db in /data-On an empty database, an admin-setup-token.txt is created as well as pasted into the terminal output. This is needed to make the admin account.······
+56
-1
src/main.rs
+56
-1
src/main.rs
······