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
6d97a535
Commit
6d97a535
authored
Nov 28, 2012
by
Carlos Andrés Rocha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move APT dependencies and repos to their own files
parent
41142ab5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
+37
-5
apt-packages.txt
+25
-0
apt-repos.txt
+3
-0
create-dev-env.sh
+9
-5
No files found.
apt-packages.txt
0 → 100644
View file @
6d97a535
python-software-properties
pkg-config
curl
git
python-virtualenv
build-essential
python-dev
gfortran
liblapack-dev
libfreetype6-dev
libpng12-dev
libxml2-dev
libxslt-dev
yui-compressor
graphviz
graphviz-dev
mysql-server
libmysqlclient-dev
libgeos-dev
libreadline6
libreadline6-dev
mongodb
nodejs
npm
coffeescript
apt-repos.txt
0 → 100644
View file @
6d97a535
ppa:chris-lea/node.js
ppa:chris-lea/node.js-libs
ppa:chris-lea/libjs-underscore
create-dev-env.sh
View file @
6d97a535
...
@@ -98,8 +98,9 @@ RUBY_VER="1.9.3"
...
@@ -98,8 +98,9 @@ RUBY_VER="1.9.3"
NUMPY_VER
=
"1.6.2"
NUMPY_VER
=
"1.6.2"
SCIPY_VER
=
"0.10.1"
SCIPY_VER
=
"0.10.1"
BREW_FILE
=
"
$BASE
/mitx/brew-formulas.txt"
BREW_FILE
=
"
$BASE
/mitx/brew-formulas.txt"
APT_REPOS_FILE
=
"
$BASE
/mitx/apt-repos.txt"
APT_PKGS_FILE
=
"
$BASE
/mitx/apt-packages.txt"
LOG
=
"/var/tmp/install-
$(
date +%Y%m%d-%H%M%S
)
.log"
LOG
=
"/var/tmp/install-
$(
date +%Y%m%d-%H%M%S
)
.log"
APT_PKGS
=
"pkg-config curl git python-virtualenv build-essential python-dev gfortran liblapack-dev libfreetype6-dev libpng12-dev libxml2-dev libxslt-dev yui-compressor nodejs npm graphviz graphviz-dev mysql-server libmysqlclient-dev libgeos-dev coffeescript libreadline6 libreadline6-dev mongodb"
if
[[
$EUID
-eq
0
]]
;
then
if
[[
$EUID
-eq
0
]]
;
then
error
"This script should not be run using sudo or as the root user"
error
"This script should not be run using sudo or as the root user"
...
@@ -188,12 +189,15 @@ case `uname -s` in
...
@@ -188,12 +189,15 @@ case `uname -s` in
maya|lisa|natty|oneiric|precise|quantal
)
maya|lisa|natty|oneiric|precise|quantal
)
output
"Installing ubuntu requirements"
output
"Installing ubuntu requirements"
sudo
apt-get install python-software-properties
# DEBIAN_FRONTEND=noninteractive is required for silent mysql-server installation
sudo
add-apt-repository ppa:chris-lea/node.js
export
DEBIAN_FRONTEND
=
noninteractive
# add repositories
cat
$APT_REPOS_FILE
| xargs
-n
1
sudo
add-apt-repository
-y
sudo
apt-get
-y
update
sudo
apt-get
-y
update
#
DEBIAN_FRONTEND=noninteractive is required for silent mysql-server installation
#
install packages listed in APT_PKGS_FILE
sudo
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
install
$APT_PKGS
cat
$APT_PKGS_FILE
| xargs
sudo
apt-get
-y
install
clone_repos
clone_repos
;;
;;
...
...
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