shortr/README.md

29 lines
616 B
Markdown
Raw Normal View History

2024-09-11 18:00:03 +03:00
# shortr
2024-09-12 21:46:11 +03:00
***Blazingly fast*** url shortener, written in go
2024-09-12 21:45:22 +03:00
## Instaallation
The first step is cloning this repo:
```shell
git clone https://github.com/4rkal/shortr && cd shortr
```
2024-09-12 22:02:10 +03:00
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)
2024-09-12 21:45:22 +03:00
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`