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
2de64559
Commit
2de64559
authored
Jun 19, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespace
parent
03605ab6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
scripts/create-dev-env.sh
+8
-8
No files found.
scripts/create-dev-env.sh
View file @
2de64559
...
@@ -73,7 +73,7 @@ change_git_push_defaults() {
...
@@ -73,7 +73,7 @@ change_git_push_defaults() {
#Set git push defaults to upstream rather than master
#Set git push defaults to upstream rather than master
output
"Changing git defaults"
output
"Changing git defaults"
git config
--global
push.default upstream
git config
--global
push.default upstream
}
}
clone_repos
()
{
clone_repos
()
{
...
@@ -206,10 +206,10 @@ case `uname -s` in
...
@@ -206,10 +206,10 @@ case `uname -s` in
distro
=
`
lsb_release
-cs
`
distro
=
`
lsb_release
-cs
`
case
$distro
in
case
$distro
in
wheezy|jessie|maya|olivia|nadia|precise|quantal
)
wheezy|jessie|maya|olivia|nadia|precise|quantal
)
warning
"
warning
"
Debian support is not fully debugged. Assuming you have standard
Debian support is not fully debugged. Assuming you have standard
development packages already working like scipy rvm, the
development packages already working like scipy rvm, the
installation should go fine, but this is still a work in progress.
installation should go fine, but this is still a work in progress.
Please report issues you have and let us know if you are able to figure
Please report issues you have and let us know if you are able to figure
...
@@ -218,7 +218,7 @@ case `uname -s` in
...
@@ -218,7 +218,7 @@ case `uname -s` in
Press return to continue or control-C to abort"
Press return to continue or control-C to abort"
read
dummy
read
dummy
sudo
apt-get install git
;;
sudo
apt-get install git
;;
squeeze|lisa|katya|oneiric|natty|raring
)
squeeze|lisa|katya|oneiric|natty|raring
)
warning
"
warning
"
It seems like you're using
$distro
which has been deprecated.
It seems like you're using
$distro
which has been deprecated.
...
@@ -231,7 +231,7 @@ case `uname -s` in
...
@@ -231,7 +231,7 @@ case `uname -s` in
Press return to continue or control-C to abort"
Press return to continue or control-C to abort"
read
dummy
read
dummy
sudo
apt-get install git
sudo
apt-get install git
;;
;;
*
)
*
)
error
"Unsupported distribution -
$distro
"
error
"Unsupported distribution -
$distro
"
...
@@ -283,7 +283,7 @@ clone_repos
...
@@ -283,7 +283,7 @@ clone_repos
if
[[
-d
$BASE
/edx-platform/scripts
]]
;
then
if
[[
-d
$BASE
/edx-platform/scripts
]]
;
then
output
"Installing system-level dependencies"
output
"Installing system-level dependencies"
bash
$BASE
/edx-platform/scripts/install-system-req.sh
bash
$BASE
/edx-platform/scripts/install-system-req.sh
else
else
error
"It appears that our directory structure has changed and somebody failed to update this script.
error
"It appears that our directory structure has changed and somebody failed to update this script.
raise an issue on Github and someone should fix it."
raise an issue on Github and someone should fix it."
exit
1
exit
1
...
@@ -314,14 +314,14 @@ case `uname -s` in
...
@@ -314,14 +314,14 @@ case `uname -s` in
[
Ll]inux
)
[
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
--auto-dotfiles
curl
-sL
https://get.rvm.io | bash
-s
stable
--ruby
--autolibs
=
enable
--auto-dotfiles
;;
;;
esac
esac
# Ensure we have RVM available as a shell function so that it can mess
# Ensure we have RVM available as a shell function so that it can mess
# with the environment and set everything up properly. The RVM install
# with the environment and set everything up properly. The RVM install
...
...
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