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"