Browse Source

Still debugging post gen hook

master
Holger Frey 7 years ago
parent
commit
e61ffa4ff5
  1. 10
      hooks/post_gen_project.sh

10
hooks/post_gen_project.sh

@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/nginx_example_moin_{{cookiecutter.directory_name}} command 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 command 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 command chown www-data:www-data /var/www/moin/config/{{cookiecutter.directory_name}}.py
mv {{cookiecutter.directory_name}} /var/www/moin/wikis/{{cookiecutter.directory_name}} command mv {{cookiecutter.directory_name}} /var/www/moin/wikis/{{cookiecutter.directory_name}}
chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.py command chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.py
echo "" echo ""
echo "The wiki was created" echo "The wiki was created"

Loading…
Cancel
Save