Plume, haskal edition https://blog.lain.faith
Go to file
Bat 0fd63eb886 Actually serialize posts in outbox 2018-04-30 17:50:35 +01:00
migrations Add relation between posts and authors 2018-04-23 15:37:49 +01:00
src Actually serialize posts in outbox 2018-04-30 17:50:35 +01:00
templates Post creation 2018-04-23 15:25:39 +01:00
.env Initial commit 2018-04-22 14:35:37 +01:00
.gitignore Initial commit 2018-04-22 14:35:37 +01:00
Cargo.lock WIP: signing 2018-04-29 16:40:10 +01:00
Cargo.toml WIP: signing 2018-04-29 16:40:10 +01:00
README.md Add more info in the README 2018-04-23 11:33:16 +01:00

README.md

Plume

Federated blogging engine, based on ActivityPub.

Setup the database

You'll need Postgres.

sudo su postgres

psql

CREATE DATABASE plume;
CREATE USER plume WITH PASSWORD 'plume';
GRANT ALL PRIVILEGES ON DATABASE plume to plume;
\q

exit

Then run the migrations

diesel migrations run # Install diesel with `cargo install diesel_cli` if needed

You should repeat this operation every time the database schema has been modified. A good practice is to run it after every git pull.

Starting the app

Just use:

cargo run

You'll need Rust nightly.

Once the app started, try to visit localhost:8000.