A blog software. It's meant to be as minimal as possible (thin client), while still maintaining basic readability and styling.
Find a file
2020-11-17 20:33:02 +01:00
content/static move templates and static pages into rust source code to ditch i/o on page load 2020-11-14 22:38:33 +01:00
doc move templates and static pages into rust source code to ditch i/o on page load 2020-11-14 22:38:33 +01:00
site fixed blog by id route embeds and removed a single quote 2020-11-17 20:33:02 +01:00
.gitignore added html templates, static, index 2020-10-26 12:19:44 +01:00
docker-compose.yml should it die, we want it to restart 2020-11-17 18:05:49 +01:00
Dockerfile Dockerization and generalization of the project. Make it accessable for everyone 2020-11-17 18:01:54 +01:00
README.md detach when started 2020-11-17 18:12:26 +01:00

Crablog

Pure rust. Built with actix, diesel, tera, serde and sqlite3. Environment variables are documented in variables.md

Build instructions using docker

  1. Clone the repository
git clone https://github.com/leonardlorenz/crablog
cd crablog
  1. Set up your configuration file (see below)
  2. Build and run the docker container (Will compile from source and thus take a while)
docker-compose up -d

Configuration environment file

All configuration options are defined in .env, to be created in the same directory as this readme.

An example configuration:

USERNAME=yourusername
EMAIL=me@mydomain.tld
BIND_PORT=8000
SUBMIT_TOKEN=Submit!123 # token needed for submitting