gull/README.md
2020-06-09 09:35:23 +02:00

744 B

gull

A simple URL shortener made in Go screenshot

Usage

Docker

Pull the image and run.

docker run -d --name gull -v /gull-data/:/data/ -p 8081:8081 aeolyus/gull:latest

This will preserve any persistent data under /gull-data/. Change this as needed.

docker-compose

Build the image from this repository and run

docker-compose up -d

This will open port 8081 and preserve data in ./gull-data.

From Source

git clone https://github.com/aeolyus/gull.git
cd ./gull
go get -d -v ./...
go run server.go

This will create a directory ./gull/data where persistent data will be stored.

Acknowledgements

Inspired by mnml!