Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
82075a52
Commit
82075a52
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
WIP ansible, add collectstatic step in django deployment
Former-commit-id: 6c632aaf4263a60d8d0a9b20d740b3be5071231f
parent
77f57dda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/deploy.yaml
+4
-0
4 additions, 0 deletions
ansible/deploy.yaml
with
4 additions
and
0 deletions
ansible/deploy.yaml
+
4
−
0
View file @
82075a52
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
tasks
:
tasks
:
-
name
:
install python requirements
-
name
:
install python requirements
pip
:
requirements=/home/ippidb/iPPIDB/ippisite/requirements.txt extra_args=--upgrade executable=pip3
pip
:
requirements=/home/ippidb/iPPIDB/ippisite/requirements.txt extra_args=--upgrade executable=pip3
-
name
:
collect static files
django_manage
:
command
:
"
collectstatic"
app_path
:
"
/home/ippidb/iPPIDB/ippisite"
-
name
:
create mod_wsgi configuration
-
name
:
create mod_wsgi configuration
django_manage
:
django_manage
:
command
:
"
runmodwsgi
--setup-only
--port=80
--user
ippidb
--group
wheel
--server-root=/etc/ippidb-80"
command
:
"
runmodwsgi
--setup-only
--port=80
--user
ippidb
--group
wheel
--server-root=/etc/ippidb-80"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment