diff --git a/readme.md b/readme.md index ed4fabff0..b8cdead66 100644 --- a/readme.md +++ b/readme.md @@ -11,11 +11,13 @@ git clone https://fsdfsd.net/rDrama/rDrama.git cd rDrama +cp env .env + docker-compose down --rmi all --remove-orphans --volumes docker-compose up ``` -3- That's it! Visit `localhost` in your browser and make an account (the first account to be made will have full admin rights) +3- That's it! Visit `http://localhost` in your browser and make an account (the first account to be made will have full admin rights) -4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, edit the variables in the `env` file and then restart the docker container. +4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, edit the variables in the `.env` file and then restart the docker container. diff --git a/startup.sh b/startup.sh index 145ae5a8b..f3e26ab39 100644 --- a/startup.sh +++ b/startup.sh @@ -1,3 +1,3 @@ cd /rDrama -. /env +. ./.env gunicorn files.__main__:app -k gevent -w 3 --reload -b 0.0.0.0:5000 --max-requests 30000 --max-requests-jitter 10000 diff --git a/startup_chat.sh b/startup_chat.sh index 060ee15fc..18b227faf 100644 --- a/startup_chat.sh +++ b/startup_chat.sh @@ -2,7 +2,7 @@ cd /rDrama -. /env +. ./.env PATH="${NVM_DIRECTORY}/versions/node/v${NODE_VERSION}/bin/:${PATH}" cd ./chat