Fix env file references in startup scripts #70

Merged
Aevann merged 2 commits from :master into master 2022-12-20 00:12:11 +00:00
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