Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jaster
Respect My Net
Commits
e78212c1
Commit
e78212c1
authored
Apr 22, 2017
by
okhin
🚴
Browse files
Merge branch '61-fix-the-ci' into 'master'
Move settings.py to settings.py.sample Closes #61 See merge request
!48
parents
2feef41b
12c19955
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
e78212c1
...
...
@@ -12,3 +12,5 @@ nnmon.egg-info/
.*.swp
# Compiled messages
*.mo
# Settings
settings.py
.gitlab-ci.yml
View file @
e78212c1
...
...
@@ -5,11 +5,13 @@ job deploy prod:
only
:
-
master
variables
:
GIT_DIR
:
'
/var/www/rmn/respect-my-net/
.git
'
GIT_WORK_DIR
:
'
/var/www/rmn/
respect-my-net
/'
BASE_PATH
:
'
/var/www/rmn/respect-my-net/'
VIRTUALENV
:
'
/var/www/rmn/
env
/'
script
:
-
source /var/www/rmn/respect-my-net/env/bin/activate
-
git pull origin master
-
python /var/www/rmn/respect-my-net/manage.py migrate
-
python /var/www/rmn/respect-my-net/manage.py collectstatic --noinput
-
rsync -ruvC ./ ${BASE_PATH}
-
source ${VIRTUALENV}/bin/activate
-
pip install --upgrade pip
-
pip install --upgrade -r nnmon-requirements.txt
-
python ${BASE_PATH}/manage.py migrate
-
python ${BASE_PATH}/manage.py collectstatic --noinput
-
touch /var/www/rmn/ready
nnmon/settings.py
→
nnmon/settings.py
.sample
View file @
e78212c1
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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