char.lt-old/README.md

24 lines
559 B
Markdown
Raw Normal View History

2022-01-14 07:02:31 +00:00
# char.lt
- website (`static` folder)
- filedump (`misc` folder - gitignored)
- personal url shortener :)
- random gen prefix with `_` + mixed-case 5-char alphabetical
- custom links: anything goes (randoms take precedence though so maybe dont prefix `_`)
## setup
```shell
$ touch data.db
$ export DATABASE_URL="sqlite://data.db"
$ sqlx migrate run
2022-01-14 07:02:31 +00:00
$
$ cd static/inter
static/inter $ # download inter.zip from GitHub and extract the contents of 'Inter Web'
static/inter $ cd ../../
$
$ cargo run --release
[...]
Listening at http://127.0.0.1:8000
```