Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
6c60c4a4
Commit
6c60c4a4
authored
Apr 04, 2016
by
J. Cliff Dyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uninstall obsolete python packages before installing new ones.
parent
d5acd29a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
playbooks/roles/edxapp/tasks/deploy.yml
+11
-1
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
6c60c4a4
...
@@ -194,8 +194,18 @@
...
@@ -194,8 +194,18 @@
-
install
-
install
-
install:app-requirements
-
install:app-requirements
-
name
:
Uninstall obsolete python requirements
command
:
>
{{ edxapp_venv_dir}}/bin/paver uninstall_python_packages
chdir="{{ edxapp_code_dir }}"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
tags
:
-
install
-
install:app-requirements
# Install the python requirements into {{ edxapp_venv_dir }}
# Install the python requirements into {{ edxapp_venv_dir }}
-
name
:
install python requirements
-
name
:
install python requirements
# Need to use command rather than pip so that we can maintain the context of our current working directory; some
# Need to use command rather than pip so that we can maintain the context of our current working directory; some
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# installs everything into that virtual environment.
# installs everything into that virtual environment.
...
...
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