all repos — artbound-go @ 51ef69285f333754dcdd400a55d4af7f43e43fc4

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

README.md (view raw)

 1# artbound-go
 2
 3A golang reimplementation of the administration panel for ArtBound.
 4
 5## Configuration
 61. Copy `.env.example` into `.env` and fill it out with your Sheets ID and Range;
 72. [Generate](https://developers.google.com/workspace/guides/create-credentials) a `credentials.json` with Drive and Sheets APIs and the following redirect URL: `http://localhost:3000`;
 83. Use `go run .` to run the server and generate a `token.json` for the first time.
 9
10## Docker
11The provided config needs the following files to be present in the main project folder:
12* `.env`, for SPREADSHEET_ID and SPREADSHEET_RANGE,
13* `credentials.json`, for Google API credentials,
14* `token.json`, for your Google API access token.
15
16After you've set up everything, it's as easy as:
17```
18docker-compose up -d
19```