From cdc364f028174157c1be1baed260da72339e52d8 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Mon, 22 Apr 2019 12:56:43 +0200 Subject: [PATCH] More README tweaks --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 69e5d38..8d35791 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ $ cd microblog.pub $ make config ``` +Once the initial configuration is done, you can still tweak the config by editing `config/me.yml` directly. + + ### Deployment To spawn the docker-compose project (running this command will also update _microblog.pub_ to latest and restart the project it it's already running): @@ -81,15 +84,23 @@ To spawn the docker-compose project (running this command will also update _micr $ make run ``` +By default, the server will listen on `localhost:5005` (http://localhost:5005 should work if you're running locally). + +For production, you need to setup a reverse proxy (nginx, caddy) to forward your domain to the local server +(and check [certbot](https://certbot.eff.org/) for getting a free TLS certificate). + + ### HTTP API See [docs/api.md](docs/api.md) for the internal HTTP API documentation. + ### Backup The easiest way to backup all of your data is to backup the `microblog.pub/` directory directly (that's what I do and I have been able to restore super easily). It should be safe to copy the directory while the Docker compose project is running. + ## Development The project requires Python3.7+.