bi1101 / Writify-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WRITIFY_API

Deploy on your VPS

  1. copy tls certificate and private key into the root of the project folder
sudo cp /etc/letsencrypt/live/api2.ieltsscience.fun/fullchain.pem .
sudo cp /etc/letsencrypt/live/api2.ieltsscience.fun/privkey.pem .
  1. run the docker-compose file
docker-compose up --build -d

if you want to run it without docker you just need to specify this env variables. then run the executable

export CERT_FILE=fullchain.pem
export KEY_FILE=privkey.pem

About


Languages

Language:Go 93.7%Language:Dockerfile 6.3%