minv__server

command module
v0.0.0-...-ae18e74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL