From df74732b30201565d7da2dd890ddde88fd3ab07f Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 12 Dec 2017 16:10:19 +0100 Subject: [PATCH] Updated instructions in post generation hook --- hooks/post_gen_project.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index dfe0f40..f935b7d 100644 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -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"