Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (28 loc) · 1.51 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.51 KB

flashpoint-submission-system

it's a thing, and it's pretty WIP

it will be a submission management system for https://bluemaxima.org/flashpoint/ or something

drawing

How to run this thing

  • it's using discord for user auth, so you need a discord app with oauth config
  • set up a discord bot to read user roles (FYI roles are hardcoded for Flashpoint discord server), roles are used for permission inside the system
  • set up a discord bot to post notifications, can be the same bot as the previous one
  • start a mysql instance, make db will do the work for you if you're a fan docker-compose
  • start a curation validator server https://github.com/FlashpointProject/Curation-Validation-Bot (make command available in this repo)
  • start an archive indexer if you want to upload stuff to flashfreeze https://github.com/Dri0m/recursive-archive-indexer (make command available in this repo)
  • fill in all the stuff in .env (which is complex and needs more description here, yea)
  • start the thing using go run ./main/*.go

TODO stuff

  • tests are definitely broken and need some love
  • redundant code and code weirdness is present to remind you that you shouldn't code like this

it looks something like this

submit page

and this

submissions page

and this

submission page

and also this

profile page