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
01ef72f4
Commit
01ef72f4
authored
Jun 03, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37 from antoviaque/install-ubuntu-dependencies
Dependency installation fixes for Debian/Ubuntu
parents
babe46e6
d606e7fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
requirements/system/ubuntu/apt-packages.txt
+1
-2
scripts/create-dev-env.sh
+4
-4
No files found.
requirements/system/ubuntu/apt-packages.txt
View file @
01ef72f4
...
@@ -30,7 +30,6 @@ libreadline6-dev
...
@@ -30,7 +30,6 @@ libreadline6-dev
mongodb
mongodb
nodejs
nodejs
coffeescript
coffeescript
mysql
mysql-client
libmysqlclient-dev
virtualenvwrapper
virtualenvwrapper
libgeos-ruby1.8
libgeos-ruby1.8
scripts/create-dev-env.sh
View file @
01ef72f4
...
@@ -310,13 +310,13 @@ case `uname -s` in
...
@@ -310,13 +310,13 @@ case `uname -s` in
curl
-sL
get.rvm.io | bash
-s
--
--version
1.15.7
curl
-sL
get.rvm.io | bash
-s
--
--version
1.15.7
;;
;;
squeeze|wheezy|jessie|maya|lisa|olivia|nadia|natty|oneiric|precise|quantal|raring
)
[
Ll]inux
)
warning
"Setting up rvm on linux. This is a known pain point. If the script fails here
warning
"Setting up rvm on linux. This is a known pain point. If the script fails here
refer to the following stack overflow question:
refer to the following stack overflow question:
http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395"
http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395"
sudo
apt-get
--purge
remove ruby-rvm
sudo
apt-get
--purge
remove ruby-rvm
sudo
rm
-rf
/usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
sudo
rm
-rf
/usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
curl
-sL
https://get.rvm.io | bash
-s
stable
--ruby
--autolibs
=
enable
--autodotfiles
curl
-sL
https://get.rvm.io | bash
-s
stable
--ruby
--autolibs
=
enable
--auto
-
dotfiles
;;
;;
esac
esac
...
@@ -392,7 +392,7 @@ if [[ `type -t mkvirtualenv` != "function" ]]; then
...
@@ -392,7 +392,7 @@ if [[ `type -t mkvirtualenv` != "function" ]]; then
source
`
which virtualenvwrapper.sh
`
source
`
which virtualenvwrapper.sh
`
;;
;;
squeeze|wheezy|jessie|maya|lisa|olivia|nadia|natty|oneiric|precise|quantal|raring
)
[
Ll]inux
)
if
[[
-f
"/etc/bash_completion.d/virtualenvwrapper"
]]
;
then
if
[[
-f
"/etc/bash_completion.d/virtualenvwrapper"
]]
;
then
source
/etc/bash_completion.d/virtualenvwrapper
source
/etc/bash_completion.d/virtualenvwrapper
else
else
...
@@ -483,7 +483,7 @@ pip install -r $BASE/edx-platform/requirements/edx/pre.txt
...
@@ -483,7 +483,7 @@ pip install -r $BASE/edx-platform/requirements/edx/pre.txt
output
"Installing edX requirements"
output
"Installing edX requirements"
# Install prereqs
# Install prereqs
cd
$BASE
/edx-platform
cd
$BASE
/edx-platform
rvm use
$RUBY_VER
rvm use
"
$RUBY_VER
@edx-platform"
rake install_prereqs
rake install_prereqs
# Final dependecy
# Final dependecy
...
...
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