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
5555d41d
Commit
5555d41d
authored
May 17, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OK, all the phases should have messages.
parent
61f13594
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
rakefiles/prereqs.rake
+5
-3
No files found.
rakefiles/prereqs.rake
View file @
5555d41d
...
...
@@ -12,21 +12,23 @@ task :install_prereqs => [:install_node_prereqs, :install_ruby_prereqs, :install
desc
"Install all node prerequisites for the lms and cms"
task
:install_node_prereqs
=>
"ws:migrate"
do
when_changed
(
''
,
'package.json'
)
do
unchanged
=
'Node requirements unchanged, nothing to install'
when_changed
(
unchanged
,
'package.json'
)
do
sh
(
'npm install'
)
end
unless
ENV
[
'NO_PREREQ_INSTALL'
]
end
desc
"Install all ruby prerequisites for the lms and cms"
task
:install_ruby_prereqs
=>
"ws:migrate"
do
when_changed
(
''
,
'Gemfile'
)
do
unchanged
=
'Ruby requirements unchanged, nothing to install'
when_changed
(
unchanged
,
'Gemfile'
)
do
sh
(
'bundle install'
)
end
unless
ENV
[
'NO_PREREQ_INSTALL'
]
end
desc
"Install all python prerequisites for the lms and cms"
task
:install_python_prereqs
=>
"ws:migrate"
do
unchanged
=
'
Requirements file
s unchanged, nothing to install'
unchanged
=
'
Python requirement
s unchanged, nothing to install'
when_changed
(
unchanged
,
'requirements/**/*'
)
do
ENV
[
'PIP_DOWNLOAD_CACHE'
]
||=
'.pip_download_cache'
sh
(
'pip install --exists-action w -r requirements/edx/base.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