Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
2fd0b1b9
Commit
2fd0b1b9
authored
May 16, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2054 from edx/jarv/move-edx-requirements
Jarv/move edx requirements
parents
fca63f06
a30e3121
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
9 deletions
+7
-9
README.md
+2
-2
rakefiles/django.rake
+2
-3
rakefiles/prereqs.rake
+3
-4
requirements/edx/base.txt
+0
-0
requirements/edx/github.txt
+0
-0
requirements/edx/local.txt
+0
-0
requirements/edx/post.txt
+0
-0
requirements/edx/repo.txt
+0
-0
No files found.
README.md
View file @
2fd0b1b9
...
...
@@ -77,8 +77,8 @@ environment), and Node has a library installer called
Once you've got your languages and virtual environments set up, install
the libraries like so:
$ pip install -r requirements/base.txt
$ pip install -r requirements/post.txt
$ pip install -r requirements/
edx/
base.txt
$ pip install -r requirements/
edx/
post.txt
$ bundle install
$ npm install
...
...
rakefiles/django.rake
View file @
2fd0b1b9
...
...
@@ -5,7 +5,7 @@ default_options = {
task
:predjango
=>
:install_python_prereqs
do
sh
(
"find . -type f -name *.pyc -delete"
)
sh
(
'pip install -q --no-index -r requirements/local.txt'
)
sh
(
'pip install -q --no-index -r requirements/
edx/
local.txt'
)
end
...
...
@@ -122,4 +122,4 @@ namespace :cms do
"Example:
\`
rake cms:export COURSE_ID=MITx/12345/name OUTPUT_PATH=foo.tar.gz
\`
"
end
end
end
\ No newline at end of file
end
rakefiles/prereqs.rake
View file @
2fd0b1b9
...
...
@@ -28,12 +28,12 @@ desc "Install all python prerequisites for the lms and cms"
task
:install_python_prereqs
=>
"ws:migrate"
do
when_changed
(
'requirements/**'
)
do
ENV
[
'PIP_DOWNLOAD_CACHE'
]
||=
'.pip_download_cache'
sh
(
'pip install --exists-action w -r requirements/base.txt'
)
sh
(
'pip install --exists-action w -r requirements/post.txt'
)
sh
(
'pip install --exists-action w -r requirements/
edx/
base.txt'
)
sh
(
'pip install --exists-action w -r requirements/
edx/
post.txt'
)
# Check for private-requirements.txt: used to install our libs as working dirs,
# or personal-use tools.
if
File
.
file?
(
"requirements/private.txt"
)
sh
(
'pip install -r requirements/private.txt'
)
end
end
unless
ENV
[
'NO_PREREQ_INSTALL'
]
end
\ No newline at end of file
end
requirements/base.txt
→
requirements/
edx/
base.txt
View file @
2fd0b1b9
File moved
requirements/github.txt
→
requirements/
edx/
github.txt
View file @
2fd0b1b9
File moved
requirements/local.txt
→
requirements/
edx/
local.txt
View file @
2fd0b1b9
File moved
requirements/post.txt
→
requirements/
edx/
post.txt
View file @
2fd0b1b9
File moved
requirements/repo.txt
→
requirements/
edx/
repo.txt
View file @
2fd0b1b9
File moved
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