new location for requirement files
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user