31 lines
386 B
Plaintext
31 lines
386 B
Plaintext
sus
|
|
===
|
|
|
|
simple URL shortener
|
|
|
|
|
|
usage
|
|
-----
|
|
|
|
running the server
|
|
|
|
1. generate the secret used to create and delete shortlinks
|
|
|
|
echo SECRET=`pwgen -s 64 1` >> .env
|
|
|
|
2. run the services
|
|
|
|
docker-compose up -d --build
|
|
|
|
setting up susmng
|
|
|
|
1. install susmng
|
|
|
|
make install-susmng
|
|
|
|
2. create config files
|
|
|
|
susmng init
|
|
|
|
3. edit config files (~/.config/susmng/config.json) to add your secrets
|