home to your local SPACEGIRL 💫 https://arimelody.me
Go to file
2024-11-18 05:07:50 +00:00
admin migrate from envars to toml config 2024-11-10 05:34:04 +00:00
api migrate from envars to toml config 2024-11-10 05:34:04 +00:00
colour MORE REFACTORING!! + some improvements 2024-08-31 01:52:35 +01:00
controller move models, views, and controllers to root 2024-11-01 19:33:26 +00:00
discord migrate from envars to toml config 2024-11-10 05:34:04 +00:00
global migrate from envars to toml config 2024-11-10 05:34:04 +00:00
model move models, views, and controllers to root 2024-11-01 19:33:26 +00:00
public some quick UI fixes for mobile users 2024-09-03 08:29:30 +01:00
res full release edit capabilities oh my goodness gracious 2024-08-31 01:52:40 +01:00
templates turns out rewriting all of your database code takes a while 2024-09-01 04:43:32 +01:00
view move models, views, and controllers to root 2024-11-01 19:33:26 +00:00
views updated music #usage info 2024-09-15 02:13:18 +01:00
.air.toml migrate from envars to toml config 2024-11-10 05:34:04 +00:00
.dockerignore move models, views, and controllers to root 2024-11-01 19:33:26 +00:00
.gitattributes updated schema to support album tracks 2024-08-31 01:52:27 +01:00
.gitignore update docker compose example 2024-11-10 05:58:05 +00:00
bundle.sh add bundler script 2024-11-18 05:07:50 +00:00
docker-compose.example.yml update docker compose example 2024-11-10 05:58:05 +00:00
Dockerfile my god...it's finally done 2024-09-03 08:07:45 +01:00
go.mod migrate from envars to toml config 2024-11-10 05:34:04 +00:00
go.sum migrate from envars to toml config 2024-11-10 05:34:04 +00:00
main.go accept HEAD on / (200) 2024-11-10 05:44:45 +00:00
README.md update readme 2024-11-10 05:49:00 +00:00
schema.sql update schema init script 2024-11-10 00:18:52 +00:00

arimelody.me

home to your local SPACEGIRL! 💫


built up from the initial static branch, this powerful, server-side rendered version comes complete with live updates, powered by a new database and handy admin panel!

the admin panel currently facilitates live updating of my music discography, though i plan to expand it towards art portfolio and blog posts in the future. if all goes well, i'd like to later separate these components into their own library for others to use in their own sites. exciting stuff!

build

  • git clone this repo, and cd into it.
  • go build -o arimelody-web .

running

the server should be run once to generate a default config.toml file. configure as needed. note that a valid DB connection is required, and the admin panel will be disabled without valid discord app credentials (this can however be bypassed by running the server with -adminBypass).

the configuration may be overridden using environment variables in the format ARIMELODY_<SECTION_NAME>_<KEY_NAME>. for example, db.host in the config may be overridden with ARIMELODY_DB_HOST.

the location of the configuration file can also be overridden with ARIMELODY_CONFIG.

database

the server requires a postgres database to run. you can use the schema.sql provided in this repo to generate the required tables. automatic schema building/migration may come in a future update.