From ced9f87d605431ee5fbc0bf3dd9c6ef454b91ae0 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Mon, 7 Sep 2020 13:34:30 +0200 Subject: [PATCH] Update SELF-HOSTING.md --- SELF-HOSTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 67608d4..1967918 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -10,6 +10,8 @@ When you self-host you make internet stronger and more censorship resistant. If You will need a server of your own, or you can rent a VPS server on any service you like. Minimum requirements for about 20 users are 2GB of RAM and a Linux Server. It is better if the server is dedicated as whole to Yotter as it will improve performance and security. +Everything that appears between `` needs to be changed by you. So for example if you see `` you should change it for `weakDummyPassword` without keeping the ``. + First of all, you will need to set up a new user on the server. For security reasons you should never use a `root` user to set up a service. If you already have a non-root user you can use that one and skip the following steps. We will create a user named `ubuntu` as I will be setting this up on an ubuntu machine. So, if you choose a different username make sure you replace it on future commands. We will create and login to the user as follows: @@ -73,7 +75,7 @@ If after the MySQL-server installation you have not been prompted to create a pa SECRET_KEY= DATABASE_URL=mysql+pymysql://yotter:@localhost:3306/yotter ``` -Make sure you change `` and `>db-password>`. `` should be different from the password of the database root user (the one you set up on step 1.2). This password will be needed later. +Make sure you change `` for the previously generated random string. You can paste it as is, without any `"" or ''`. Also change ``. `` should be different from the password of the database root user (the one you set up on step 1.2). This password will be needed later. #### Step 2: Setting up the MySQL Database: * Open the MySQL prompt line (Use the previously set MySQL root password!)