README.md 525 Bytes
Newer Older
Davide Depau's avatar
Davide Depau committed
1
# UUS - Uncomplicated Url Shortener
JackV's avatar
JackV committed
2
This is a url shortener written in python with flask
Davide Depau's avatar
Davide Depau committed
3
4
5
6
7
8
9

## Management CLI

A simple CLI is provided to add, modify and delete admin users. `REDIS_URL` must be provided unless it is the default. Also, `FLASK_APP=uus` must be set when not running in Docker (the Dockerfile already sets this).

Run `flask` to get the list of commands.

10
In the docker container you can run `uus_mng` directly to get to the CLI, for example
Davide Depau's avatar
Davide Depau committed
11
12

```
13
$ docker exec -it uus_uus_1 /uus_mng adduser admin
Davide Depau's avatar
Davide Depau committed
14
Password: 
15
```