all repos — artbound-go @ main

The official administration panel for ArtBound, by EarthBound Café.

741e68dd
fix filename when saving
BiRabittoh andronacomarco@gmail.com
Sun, 03 Mar 2024 13:01:47 +0100
90a97288
show original filename
Marco Andronaco andronacomarco@gmail.com
Sat, 02 Mar 2024 16:07:12 +0100
7831364a
use embedfs for static files and templates
Marco Andronaco andronacomarco@gmail.com
Sat, 02 Mar 2024 13:06:21 +0100

artbound-go

A golang reimplementation of the administration panel for ArtBound.

Configuration

  1. Copy .env.example into .env and fill it out with your Sheets ID and Range;
  2. Generate a credentials.json with Drive and Sheets APIs and the following redirect URL: http://localhost:3000;
  3. Use go run . to run the server and generate a token.json for the first time.

Docker

The provided config needs the following files to be present in the main project folder: * .env, for SPREADSHEET_ID and SPREADSHEET_RANGE, * credentials.json, for Google API credentials, * token.json, for your Google API access token.

After you’ve set up everything, it’s as easy as:

docker-compose up -d
clone
git clone https://git.birabittoh.duckdns.org/artbound-go.git