embeddable writing updates
https://sillywordz.kissing.computer/
| .idea | ||
| assets | ||
| config | ||
| model | ||
| storage | ||
| vpub | ||
| web | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| generate.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| README.md | ||
this is a fork of status.cafe that is for embeddable writing updates. dockerization credit to melo, girlonthemoon.xyz, who wrote the below documentatipn:
this is just a clone of ~m15o/status that adds a dockerfile and compose file for containerized deployment.
customization and administration
the following environment variables in .env.example configure administration and customization of the site. please copy the example file to .env for it to work with the compose file.
DATABASE_URL- the value for this will fill in with variables that configure postgres in the same file, which you should change for security.ASSETS_DIR- the value provided should not be changed unless you wish to move the assets folder in the source code. on the host, the asset directory can containstyle2.css, which is mounted over thestyle.cssfile in the container via the compose file, to allow for customization of the site's styling.MANUAL_REGISTRATION- by default this is disabled, which means all users are automatically approved upon registration and are able to post. after registering a user you will use as admin, i recommend setting this to0to enable manual approval of users via the/adminpage.
in web/handler/admin_show.go, you must edit all instances of m15o to reflect your admin account's username, or else you will not be able to access the admin page and approve/deny users.