Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
6b12cfd7
Commit
6b12cfd7
authored
12 years ago
by
jarv
Browse files
Options
Downloads
Plain Diff
Merge pull request #1028 from MITx/feature/ned/better-node-installation
Get node.js from a more up-to-date PPA.
parents
32303452
f912fb95
No related branches found
Branches containing commit
Tags
release-2021-05-04-10.16
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create-dev-env.sh
+4
-1
4 additions, 1 deletion
create-dev-env.sh
with
4 additions
and
1 deletion
create-dev-env.sh
+
4
−
1
View file @
6b12cfd7
...
...
@@ -105,7 +105,7 @@ NUMPY_VER="1.6.2"
SCIPY_VER
=
"0.10.1"
BREW_FILE
=
"
$BASE
/mitx/brew-formulas.txt"
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
coffeescript
graphviz graphviz-dev mysql-server libmysqlclient-dev"
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"
if
[[
$EUID
-eq
0
]]
;
then
error
"This script should not be run using sudo or as the root user"
...
...
@@ -192,9 +192,12 @@ case `uname -s` in
case
$distro
in
maya|lisa|natty|oneiric|precise|quantal
)
output
"Installing ubuntu requirements"
sudo
apt-get
install
python-software-properties
sudo
add-apt-repository ppa:chris-lea/node.js
sudo
apt-get
-y
update
# DEBIAN_FRONTEND=noninteractive is required for silent mysql-server installation
sudo
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
install
$APT_PKGS
sudo
npm
install
coffee-script
clone_repos
;;
*
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment