Commit b8be706d authored by Emma's avatar Emma

💡 re-enabe hook

parent 4677653a
Pipeline #1500 skipped
#!/bin bash
#!/bin/bash
if [ `which virtualenv|grep virtualenv 2>/dev/null` ]
then
virtualenv -p python{{ cookiecutter.python }} venv
......@@ -15,6 +15,14 @@ rm -rf nginx_uwsgi
{% endif %}
cd /etc/nginx/sites-enabled
if [[ -f cd /etc/uwsgi/apps-enabled ]]
then
rm {{ cookiecutter.site }}
fi
ln -s ../sites-available/{{ cookiecutter.site }} .
cd /etc/uwsgi/apps-enabled
if [[ -f {{ cookiecutter.site }}.ini ]]
then
rm {{ cookiecutter.site }}.ini
fi
ln -s ../apps-available/{{ cookiecutter.site }}.ini .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment