Fix env file references in startup scripts (#70)

Kindly,

I have downloaded this here repository again and when to trying to start the thing it did not work on my machine (TM)

I noticed that logs in docker compose complaining of multiple things about lacking environment variables

I added info to the readme.md about cp

This is inline with what is already written in the ubuntu setup script. So it should be good.

Now for the part in doubt ...

Then I noticed that there were two more references to "env" instead of ".env" in the other scripts and I corrected them too. Check if that is fine with you fine folk (TM)

Thanks,
granny

Co-authored-by: Your Name <madmarcolas@gmail.com>
Reviewed-on: rDrama/rDrama#70
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
pull/83/head
mummified-corroding-granny 2022-12-20 00:12:09 +00:00 committed by Aevann
parent a5f11b7b18
commit f3e6a6e71f
3 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -2,7 +2,7 @@
cd /rDrama
. /env
. ./.env
PATH="${NVM_DIRECTORY}/versions/node/v${NODE_VERSION}/bin/:${PATH}"
cd ./chat