|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
|
|
|
echo "mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/{{cookiecutter.directory_name}}" |
|
|
|
mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/nginx_example_moin_{{cookiecutter.directory_name}} |
|
|
|
|
|
|
|
|
|
|
|
mv {{cookiecutter.directory_name}}/{{cookiecutter.directory_name}}.py /var/www/moin/config/{{cookiecutter.directory_name}}.py |
|
|
|
mv {{cookiecutter.directory_name}}/{{cookiecutter.directory_name}}.py /var/www/moin/config/{{cookiecutter.directory_name}}.py |
|
|
|
chown www-data:www-data /var/www/moin/config/{{cookiecutter.directory_name}}.py |
|
|
|
chown www-data:www-data /var/www/moin/config/{{cookiecutter.directory_name}}.py |
|
|
@ -15,6 +15,6 @@ echo "You'll need to add the following line to /var/www/moin/config/farmconfig.p |
|
|
|
echo ' ("{{cookiecutter.directory_name}}", r"^https?://{{cookiecutter.domain}}(:8080)?/.*")' |
|
|
|
echo ' ("{{cookiecutter.directory_name}}", r"^https?://{{cookiecutter.domain}}(:8080)?/.*")' |
|
|
|
echo "" |
|
|
|
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/nginx_example_moin_{{cookiecutter.directory_name}}" |
|
|
|
echo "Don't forget to restart/reload uwsgi and nginx" |
|
|
|
echo "Don't forget to restart/reload uwsgi and nginx" |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|