Federated blogging application, thanks to ActivityPub
Find a file
Bat 4daa482aa8 Add a license (AGPLv3)
Thanks Sylvhem for the advice!
2018-05-01 13:01:38 +01:00
migrations Add creation timestamps 2018-04-30 18:46:27 +01:00
src Save the correct instance URL in the database 2018-05-01 12:52:50 +01:00
templates Display remote profiles! 2018-05-01 12:48:19 +01:00
.env Initial commit 2018-04-22 14:35:37 +01:00
.gitignore Initial commit 2018-04-22 14:35:37 +01:00
.travis.yml Add Travis CI 2018-04-30 22:15:07 +01:00
Cargo.lock Display remote profiles! 2018-05-01 12:48:19 +01:00
Cargo.toml Display remote profiles! 2018-05-01 12:48:19 +01:00
LICENSE Add a license (AGPLv3) 2018-05-01 13:01:38 +01:00
README.md Add Travis badge 2018-04-30 22:20:40 +01:00

Plume Build Status

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.