This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
django-ex
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
Use dedicated script to pre deploy actions
pull/2/merge
Rodolfo Carvalho
10 years ago
parent
9b0e7e8a15
commit
a3d47d74cc
2 changed files
with
7 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
application-template.json
+6
-0
scripts/pre_deploy.sh
+ 1
- 1
application-template.json
View File
@ -161,7 +161,7 @@
"execNewPod"
:
{
"containerName"
:
"django"
,
"command"
:
[
"./
manage.py migrate
"
"./
scripts/pre_deploy.sh
"
]
}
}
+ 6
- 0
scripts/pre_deploy.sh
View File
@ -0,0 +1,6 @@
#!/bin/bash
# enable SCL
source
.bashrc
./manage.py migrate
Write
Preview
Loading…
Cancel
Save