Updated Self hosting (markdown)

Jelle Z 2018-10-09 21:08:17 +01:00
parent 4903955c91
commit 47e7cbcfd6

@ -8,7 +8,7 @@ Once you cloned the project, install the Python dependencies with ``pip install
# CloudDeploy["All your (data)base are belong to us"]
Okay, not really, but you will have to set-up one in order to host Titan. To set up the database for it to work with the webapp and the discordbot, one must use alembic to migrate their databases to the current database state. To do so, please follow these instructions. PostgreSQL supports proper indexing and suitable for Titan needs. For this reason, Titan only supports using a PostgreSQL database.
Okay, not really, it's all yours, but you will have to set up one in order to host Titan. To set up the database for it to work with the webapp and the discordbot, one must use alembic to migrate their databases to the current database state. To do so, please follow these instructions. PostgreSQL supports proper indexing and suitable for Titan needs. For this reason, Titan only supports using a PostgreSQL database.
1. Install alembic with Python 3.5's pip `pip install alembic`
2. Change your directory to the webapp where the alembic files are located cd webapp