From 077345d528113d9c461a1c5b2a751a1b249a8677 Mon Sep 17 00:00:00 2001 From: Jelle Z Date: Sun, 28 Jul 2019 16:50:04 +0200 Subject: [PATCH] Updated Self hosting (markdown) --- Self-hosting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Self-hosting.md b/Self-hosting.md index ed2555b..3373702 100644 --- a/Self-hosting.md +++ b/Self-hosting.md @@ -13,7 +13,7 @@ Okay, not really, it's all yours, but you will have to set one up in order to ho 1. Install alembic with Python 3.6's pip `pip install alembic` 2. Change your directory to the webapp where the alembic files are located cd webapp 3. Clone `alembic.example.ini` into your own `alembic.ini` file to find and edit the following line `sqlalchemy.url` to equal your database uri. [See here](http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls) if you need help understanding how database uri works in SQLalchemy. -4. In your terminal, run ``$ alembic upgrade head`` to upgrade your database tables to the current version on git. As long as there are only INFO messages and no errors, you should be fine. +4. In your terminal, run `alembic upgrade head` to upgrade your database tables to the current version on git. As long as there are only INFO messages and no errors, you should be fine. 5. Check your database tables to see if they are created. If so, you have finished migrating your database! Remember to run Step 4 every now and then just in case if there are database updates. (Presumably on every `git pull`). Titan also requires a Redis instance in order to function. There is no specific prerequisites before utilizing Titan with Redis. Follow the [official Redis installation instructions to install](https://redis.io/topics/quickstart) and start using Redis.