Browse Source

Updated instructions in post generation hook

master
Holger Frey 7 years ago
parent
commit
df74732b30
  1. 4
      hooks/post_gen_project.sh

4
hooks/post_gen_project.sh

@ -10,6 +10,10 @@ chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.p @@ -10,6 +10,10 @@ chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.p
echo ""
echo "The wiki was created"
echo ""
echo "You'll need to add the following line to /var/www/moin/config/farmconfig.py"
echo '("{{cookiecutter.directory_name}}", r"^https?://{{cookiecutter.domain}}(:8080)?/.*")'
echo ""
echo "Please adjust the nginx config"
echo "An example file was created at /etc/nginx/sites-available/{{cookiecutter.directory_name}}"
echo "Don't forget to restart/reload uwsgi and nginx"

Loading…
Cancel
Save