|
|
@ -10,6 +10,10 @@ chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.p |
|
|
|
|
|
|
|
|
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "The wiki was created" |
|
|
|
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 "Please adjust the nginx config" |
|
|
|
echo "An example file was created at /etc/nginx/sites-available/{{cookiecutter.directory_name}}" |
|
|
|
echo "An example file was created at /etc/nginx/sites-available/{{cookiecutter.directory_name}}" |
|
|
|
echo "Don't forget to restart/reload uwsgi and nginx" |
|
|
|
echo "Don't forget to restart/reload uwsgi and nginx" |
|
|
|