$GME go brrrrr
Allan, please add details!
$ docker build . -t gmesh:latest
$ docker run -it --rm --name gmesh-api -p 80:80 gmesh:latest
$ docker run -it --rm --name gmesh-api -e "GME_PERSISTENT_BACKEND=bbolt" -p 80:80 gmesh:latest
$ docker run -it --rm --name gmesh-api -e "GME_PERSISTENT_BACKEND=bbolt" -v $PWD/data:/data -p 80:80 gmesh:latest
Copy docker-compose-{preferred-option}.yml
and docker-compose.env
from docker/
Options:
- redis-mongo
- redis
- scratch
$ cp docker/docker-compose-redis-mongo.yml ./docker-compose.yml
$ cp docker/docker-compose.env ./
Build
$ docker-compose build
Start it
$ docker-compose up [-d]
It is also very easy to shorten URLs via shortcuts on iOS. You can find a ready shortcut version here:
https://www.icloud.com/shortcuts/8ff6f9987e084ce29b2c37dacba236e8
- Either the shortcut can be opened manually, it will then ask for the long URL, and then the shortened URL will be saved to the clipboard
- or when a URL is shared, "gme.sh" now appears in the share menu