Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
cc_djember_site_setup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
levit
cc_djember_site_setup
Commits
b8be706d
Commit
b8be706d
authored
Jun 07, 2017
by
Emma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💡
re-enabe hook
parent
4677653a
Pipeline
#1500
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
hooks/post_gen_project.sh
hooks/post_gen_project.sh
+9
-1
No files found.
hooks/
tmp
.sh
→
hooks/
post_gen_project
.sh
100755 → 100644
View file @
b8be706d
#!/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
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment