Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
campaign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
La Quadrature du Net
piphone
campaign
Commits
78242d10
Commit
78242d10
authored
Jan 09, 2017
by
okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the settings for the templates
parent
b6c28c73
Pipeline
#719
failed with stage
in 1 minute and 10 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
7 deletions
+29
-7
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
picampaign/settings.py.sample
picampaign/settings.py.sample
+9
-6
setup.py
setup.py
+1
-1
No files found.
.gitlab-ci.yml
View file @
78242d10
...
...
@@ -13,3 +13,22 @@ job test python:
tags
:
[
preprod
]
only
:
-
master
job deploy
:
environment
:
preprod
variables
:
GIT_DIR
:
'
/srv/piphone/campaign/.git'
GIT_WORK_DIR
:
'
/srv/piphone/campaign/'
script
:
-
git pull origin master
-
source /srv/piphone/campaign/env/bin/activate
-
pip install --upgrade pip
-
python /srv/piphone/campaign/setup.py install
-
python /srv/piphone/campaign/manage.py migrate
-
python /srv/piphone/campaign/manage.py collectstatic
-
python /srv/piphone/campaign/manage.py compilemessages
-
touch /srv/piphone/campaign.ready
tags
:
[
preprod
]
only
:
-
master
picampaign/settings.py.sample
View file @
78242d10
...
...
@@ -106,12 +106,15 @@ TEMPLATES = [
'APP_DIRS': True,
'OPTIONS': {
'debug': DEBUG,
}
},
{
'BACKEND': 'django.contrib.auth.context_processors.auth',
'OPTIONS': {
'debug': DEBUG,
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
]
}
},
]
setup.py
View file @
78242d10
...
...
@@ -15,7 +15,7 @@ requires = [
setup
(
name
=
'picampaign'
,
namespace_packages
=
[
'picampaign'
],
version
=
'0.0.
2
'
,
version
=
'0.0.
3
'
,
description
=
'PiPhone Campaign Manager.'
,
long_description
=
README
,
classifiers
=
[
"Programming Language :: Python"
],
...
...
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