~thecashewtrader/minv__server

Update README.md formatting

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~thecashewtrader/minv__server
read/write
git@git.sr.ht:~thecashewtrader/minv__server

You can also use your local clone with git send-email.

#Introduction

This is the official server for minv, built with golang, sqlc, sqlite, chi, and ffmpeg.

#Install Instructions

#Docker + Compose

Navigate to an empty directory

mkdir minv__server
cd minv__server
mkdir data

Download required files and edit data/config.toml:

wget https://git.sr.ht/~thecashewtrader/minv__server/blob/main/docker-compose.yaml
wget https://git.sr.ht/~thecashewtrader/minv__server/blob/main/data/config.toml -O data/config.toml

Run the container

docker compose up

#Manual

#Development Dependencies

#Runtime Dependencies

  • ffmpeg

#Compiling

Clone the source code

git clone https://git.sr.ht/~thecashewtrader/minv__server
cd minv__server

Generate SQL and build

sqlc generate
go build .

#Deploying

Copy minv__server and data/config.toml. Then, edit config.toml and run:

./minv__server

#Misc

  • You can use the nohup command to easily redirect logs to a file. Also helpful when trying to keep the app alive after exiting an SSH session.