mirror of
https://github.com/4rkal/shortr.git
synced 2024-11-12 21:07:21 +02:00
29 lines
616 B
Markdown
29 lines
616 B
Markdown
# shortr
|
|
|
|
***Blazingly fast*** url shortener, written in go
|
|
|
|
## Instaallation
|
|
The first step is cloning this repo:
|
|
|
|
```shell
|
|
git clone https://github.com/4rkal/shortr && cd shortr
|
|
```
|
|
|
|
Edit the `docker-compose.yml` and set a base url:
|
|
|
|
command: ["/shortr", "--url", "YOUR_URL"]
|
|
|
|
Change the `YOUR_URL`, to the url where your app served from (eg app.4rkal.com)
|
|
|
|
Now you can run the application via docker.
|
|
|
|
### Using docker
|
|
Assuming that you have docker compose installed simply run
|
|
|
|
```
|
|
docker compose up
|
|
```
|
|
|
|
Now the application should be available by vissiting `localhost:8080`
|
|
|