From 502c186f5260e99dc17a3f247ba8f94f66e6a2d7 Mon Sep 17 00:00:00 2001 From: Bat Date: Mon, 23 Apr 2018 11:33:16 +0100 Subject: [PATCH] Add more info in the README --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 034fd660..e5a2a4cc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Plume +Federated blogging engine, based on ActivityPub. + ## Setup the database You'll need Postgres. @@ -16,3 +18,24 @@ GRANT ALL PRIVILEGES ON DATABASE plume to plume; 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](http://localhost:8000).