Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
bf9e9926
Commit
bf9e9926
authored
Jan 26, 2016
by
Philipp Wolfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Openshift install not pinning Django to 1.8
parent
f42f02ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openshift/install.sh
openshift/install.sh
+6
-4
No files found.
openshift/install.sh
View file @
bf9e9926
...
...
@@ -52,10 +52,12 @@ source $OPENSHIFT_HOMEDIR/python/virtenv/bin/activate
cd
${
OPENSHIFT_REPO_DIR
}
# Pin Django version to 1.8 to avoid surprises when 1.9 comes out.
sed
-e
's/Django[<>=]\+.*/Django>=1.8,<1.9/'
$OPENSHIFT_REPO_DIR
/requirements.txt
>
/tmp/requirements.txt
# Prevent lxml 3.5 or later to be used on OpenShift because its compilation needs more memory than small gears can provide.
sed
-e
's/lxml[<>=]\+.*/\0,<3.5/'
$OPENSHIFT_REPO_DIR
/requirements.txt
>
/tmp/requirements.txt
# Prevent lxml 3.5 or later to be used on OpenShift because its compilation
# needs more memory than small gears can provide.
cat
$OPENSHIFT_REPO_DIR
/requirements.txt |
sed
-e
's/Django[<>=]\+.*/Django>=1.8,<1.9/'
|
sed
-e
's/lxml[<>=]\+.*/\0,<3.5/'
\
>
/tmp/requirements.txt
sh
"pip install -U -r /tmp/requirements.txt"
...
...
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