Browse Source

Test of postgen hook

master
Holger Frey 7 years ago
parent
commit
86d462b578
  1. 2
      hooks/post_gen_project.sh

2
hooks/post_gen_project.sh

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/bin/sh
mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/{{cookiecutter.directory_name}}
echo "mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/{{cookiecutter.directory_name}}"
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

Loading…
Cancel
Save