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
12c19955
Commit
12c19955
authored
Apr 22, 2017
by
Okhin
Browse files
Move settings.py to settings.py.sample
parent
2feef41b
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
12c19955
...
...
@@ -12,3 +12,5 @@ nnmon.egg-info/
.*.swp
# Compiled messages
*.mo
# Settings
settings.py
.gitlab-ci.yml
View file @
12c19955
...
...
@@ -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 @
12c19955
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