Commit Graph

53 Commits

Author SHA1 Message Date
Nate Hardison
61ca49ac36 Adding a check for an existing virtualenv
This way, packages won't be inadvertently installed into the wrong
virtual environment. I tried to have the check just run `deactivate`,
but I couldn't figure out how to get that working, so the script
just bails.
2013-05-01 10:22:57 -07:00
Nate Hardison
a3bb4bfb9f Updating dev environment setup
* Script now installs RVM in conventional location (~/.rvm) by
  default, though it allows for the override if desired. This will
  enable folks to install edX alongside other Ruby projects also
  using RVM.
* Script now uses virtualenvwrapper to ease the process of enabling
  the edX virtualenv and to allow for easy switching back and forth
  between virtualenv projects. It now also installs the "mitx"
  virtualenv in the conventional location of ~/.virtualenv.
* Adding a .rvmrc file so that the Ruby environment will be
  automatically activated (via `rvm use`) whenever the user hits
  the `mitx/` directory.
2013-05-01 10:22:57 -07:00
Carlos Andrés Rocha
3025a88d73 Extract installation of system dependencies from create dev script 2012-12-13 15:11:53 -05:00
Carlos Andrés Rocha
6d97a535b3 Move APT dependencies and repos to their own files 2012-11-28 19:13:31 -05:00
Carlos Andrés Rocha
41142ab56a Add mongodb to create-dev-env.sh script 2012-11-28 19:13:11 -05:00
Carlos Andrés Rocha
796369c137 Fix installation of coffeescript and ruby on linux 2012-11-28 19:12:37 -05:00
Александр
03c338d6e3 added geos library for linux 2012-11-27 14:53:44 +02:00
Александр
406e7e29c0 added geos to requirements 2012-11-27 14:51:30 +02:00
David Ormsbee
156dc1fb6c Merge branch 'master' into feature/victor/actual-askbot-removal
Conflicts:
	lms/envs/aws.py
2012-11-15 14:24:55 -05:00
Ned Batchelder
f912fb9542 Get node.js from a more up-to-date PPA. 2012-11-08 17:04:29 -05:00
Aaron Culich
4db61f2531 Fixed mysql_config not found error by adding libmysqlclient-dev to APT_PKGS 2012-11-01 19:31:19 +00:00
Aaron Culich
4712a039dc Added DEBIAN_FRONTEND=noninteractive to sudo apt-get which is required for silent mysql-server installation 2012-11-01 14:06:03 +00:00
Aaron Culich
2203a0bd70 Updated APT_PKGS with valid Ubuntu package name: mysql -> mysql-server 2012-11-01 14:05:11 +00:00
JM Van Thong
ca5c33cdf3 Fixed install by adding mysql 2012-10-31 13:46:27 -04:00
Victor Shnayder
793354a0dc remove (almost) all references to askbot. 2012-10-30 18:23:07 -04:00
Brian Wilson
5329de8a43 Update startup script for 12.10 Ubuntu.
Added "quantal" to the list of known distribution names.
2012-10-28 19:22:41 -04:00
Carlos Andrés Rocha
c337848954 Set git push.default to current on the create-dev-env script 2012-10-05 16:23:39 -04:00
Carlos Andrés Rocha
2c5047fde4 Fix create-dev-env script for Mac OS 10.8 and latest stable rvm 2012-10-03 19:02:02 -04:00
John Jarvis
b292519322 adding pkg-config 2012-09-20 09:46:14 -04:00
Arjun Singh
ed034ff103 fix ubuntu graphviz lib install 2012-09-20 04:23:31 -07:00
John Jarvis
abf2e50893 homebrew changed the installation url 2012-09-17 15:15:15 -04:00
Arjun Singh
ad745aa9bd pygraphviz requires libgraphviz-dev on ubuntu 2012-08-28 05:53:33 -07:00
John Jarvis
55251039d9 updating dependencies for pystache, networkx, graphviz and removing redundant dependency for django-staticfiles 2012-08-20 16:35:42 -04:00
John Jarvis
99f26e4ea8 adding maya to supported distro list for create-dev-env.sh 2012-08-13 16:40:46 -04:00
John Jarvis
94c19059b5 trailing whitespace 2012-08-01 11:08:41 -04:00
John Jarvis
8c1bb0cab2 sanity checking /usr/local, updating coffee script install location, old location no longer works 2012-08-01 10:54:32 -04:00
John Jarvis
0642af0147 submodules are not on a branch, no need to pull 2012-07-31 17:17:33 -04:00
John Jarvis
ecab194e47 removing unnecessary chdir 2012-07-31 17:14:22 -04:00
John Jarvis
5c73a6f2ca betting rvmrc handling 2012-07-31 17:04:58 -04:00
John Jarvis
9c31715da5 removing virtualenv install lines that arent needed 2012-07-31 16:55:07 -04:00
John Jarvis
37ba0395e0 do not install virtualenv unless it needs to be upgraded (<1.7) 2012-07-31 16:49:18 -04:00
John Jarvis
e08cb5067e always pip install virtualenv 2012-07-31 16:09:11 -04:00
John Jarvis
0919963119 adding option back for --system-site-packages, will ensure virtualenv > 1.7 2012-07-31 16:07:00 -04:00
John Jarvis
50dc4e80a3 adding askbot as a submodule of mitx 2012-07-31 15:49:11 -04:00
John Jarvis
5e8d132aad removing askbot-devel 2012-07-31 15:15:49 -04:00
John Jarvis
1279c86097 by default now stdout and stdin will appear on console, both are logged 2012-07-31 14:56:39 -04:00
John Jarvis
68132b8517 removing mercurial dependency from linux/OSx 2012-07-26 17:13:01 -04:00
John Jarvis
a75ac16da0 error in script for site package handling 2012-07-20 15:51:37 -04:00
Victor Shnayder
42fa0806fe Fix paths in create-dev-env.sh
* need to be in mitx/ to install common/lib/*
* create data dir if it doesn't exit
* add a few more log messages
* Change url for our fork of django-pipeline to stop the hanging checkouts.
  It works either way on my machine, so not sure if this will fix it.
2012-07-19 16:13:56 -04:00
Victor Shnayder
c6ca8ab61f Update dev script repos
* remove hg data repo
* pull the 6.002x repo
2012-07-18 18:51:28 -04:00
John Jarvis
b46b7daf0f added a posix compliant check to make sure you are using bash to run the script, added option to use --system-site-packages for virtualenv, updated the ending instructions on how to start the server 2012-06-08 14:59:21 -04:00
John Jarvis
eb4272e386 converted tabs to spaces, updated LESS cmdline override 2012-06-08 11:50:57 -04:00
John Jarvis
a8940fc71e adding less option to skip the intro screen for ruby install 2012-06-08 11:30:13 -04:00
Bridger Maxwell
195fa158cc Changed setup script to pull instead of clone if the repo already exists. 2012-06-01 16:03:30 -04:00
John Jarvis
6c4a3cf618 updating for coffeescript 2012-05-31 14:54:38 -04:00
John Jarvis
178cdc877e removing mercurial from brew install list 2012-05-31 14:36:23 -04:00
John Jarvis
26ce972cea adding brew-formulas, updating dev env script 2012-05-31 11:39:55 -04:00
John Jarvis
908e9c0427 no longer redirecting STDOUT when running the brew installer 2012-05-31 10:41:45 -04:00
John Jarvis
d011ab99ad added root user check 2012-05-30 11:43:33 -04:00
John Jarvis
3b3cf5b7a0 added node/coffeescript to dependency list 2012-05-29 09:33:42 -04:00