diff --git a/README.md b/README.md index afae3e8c01d207b3c5d2e9cb26129f7650efa608..6524b6c878fc1ac3495d6b8313adbcec9f0f2922 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Remember to use a secret key that is not stored in any repository or similar, an or create a new config (.conf) file (similar to ``apache-akplanning.conf``) replacing $SUBDOMAIN with the subdomain the system should be available under, and $MAILADDRESS with the e-mail address of your administrator and $PATHTO with the appropriate paths. Copy or symlink it to ``/etc/apache2/sites-available``. Then symlink it to ``sites-enabled`` e.g. by using ``ln -s /etc/apache2/sites-available/akplanning.conf /etc/apache2/sites-enabled/akplanning.conf``. 1. restart Apache ``sudo systemctl restart apache2.service`` 1. create a dedicated user, e.g. ``adduser django`` -1. transfer ownership of the folder to the new user ``chown -R django:django /srv/WannaDB`` +1. transfer ownership of the folder to the new user ``chown -R django:django /srv/AKPlanning`` 1. Copy or symlink the uwsgi config in ``uwsgi-akplanning.ini`` to ``/etc/uwsgi/apps-available/`` and then symlink it to ``/etc/uwsgi/apps-enabled/`` using e.g., ``ln -s /srv/AKPlanning/uwsgi-akplanning.ini /etc/uwsgi/apps-available/akplanning.ini`` and ``ln -s /etc/uwsgi/apps-available/akplanning.ini /etc/uwsgi/apps-enabled/akplanning.ini`` start uwsgi using the configuration file ``uwsgi --ini uwsgi-akplanning.ini`` 1. restart uwsgi ``sudo systemctl restart uwsgi`` diff --git a/Utils/setup.sh b/Utils/setup.sh index b11b29aba696acfece27da16b4cea2363f948232..5ccdf50fb72881dcecae76c6db55f7a971da9a7a 100755 --- a/Utils/setup.sh +++ b/Utils/setup.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Setup AKPlanning -# execute as Utils/check.sh +# execute as Utils/setup.sh # abort on error, print executed commands set -ex diff --git a/Utils/update.sh b/Utils/update.sh index 486b52ae0d2ce196acbf16bf43c85f42fada786b..d16b9ffe8b4c5296ac207719fb7eb6ea0e7fce55 100755 --- a/Utils/update.sh +++ b/Utils/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Update AKPlanning -# execute as Utils/check.sh +# execute as Utils/update.sh # abort on error, print executed commands set -ex