Setup

  • Installer golang
sudo apt install golang
  • Install and configure mysql
    sudo apt install mysql-server
    

Configure DB:

sudo mysql
create database xxxxx
use xxxxx

Executing an sql source (.sql file with DROP CREATE instructions)

source /path/to/sqlFile

If driver is needed

go get -u github.com/go-sql-driver/mysql

  • Build and display this documentation locally

Install Python

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.13

Create a venv (do it in the doc folder)

cd doc
python3.13 -m venv venv
source venv/bin/activate
pip install mkdocs-material
mkdocs serve