Commit Graph

52 Commits

Author SHA1 Message Date
Régis Behmo
95ebf7f675 Upgrade distribute to the latest stable version of setuptools
'distribute' is the ancestor of 'setuptools', and many packages require
setuptools to be installed.

Upgrade of MySQL-python from 1.2.4 to 1.2.5 is required because of an
incompatibility with setuptools>0.7.
2015-07-09 13:04:33 -04:00
Jason Zhu
fca915c365 install and set up paver before using it
install and set up paver before using it
2014-04-19 17:21:21 +08:00
Jason Zhu
2231d6ccf3 install and set up paver before using it
install and set up paver before using it
2014-04-17 14:28:00 +08:00
Will Daly
44dad41ede Switch from Rake to Paver 2014-03-25 11:32:19 -04:00
Will Daly
812e71bbbb Revert "Fix sys.path manipulation in pavement.py, with detailed comment"
This reverts commit 544616be4b.
2014-02-24 11:30:40 -05:00
Will Daly
544616be4b Fix sys.path manipulation in pavement.py, with detailed comment
Restore reverted changes from paver part 1
2014-02-18 15:09:07 -05:00
Will Daly
c85c4b22ed Revert "Replace rake functions with python paver functions"
This reverts commit df2e410f2a.
2014-02-14 14:25:28 -05:00
David Glance
df2e410f2a Replace rake functions with python paver functions
Deprecated rake functions issue a warning and then call paver
replacements

Bring Paver commands up to date with master for servers, assets, and docs.
Revert deprecation of quality, tests, and i18n for a future pull request.
Deprecate workspace migration
2014-02-14 11:25:55 -05:00
David Baumgold
c273648395 fixup create-dev-env.sh 2014-02-06 14:09:05 -05:00
hkim823
70ca3a4729 fixing create-dev-env.sh to use Brewfile 2014-02-06 11:10:05 -05:00
Slater-Victoroff
ccc10f25f5 Small fixup to final print statement in Create Dev Env script
Fixed Typo
2013-08-06 11:20:11 -04:00
Calen Pennington
76055aa211 Add a manage.py command that understands the extra edX options 2013-07-24 09:04:12 -04:00
Xavier Antoviaque
139b12f25b Install: Fixes "Don't know how to build task 'cms:update_templates'"
Remove the `update_templates command from the installation script, this
command was removed by
3722685e1a
2013-07-18 09:14:09 -03:00
James Tauber
047da7a7ce Use $WORKON_HOME consistently for virtualenv.
Some parts of the `create-dev-env/sh` script use `$WORKON_HOME` and
others hardcode `$HOME/.virtualenvs` which means if you **don't** put
your virtualenvs under `$HOME/.virtualenvs`, the script doesn't work at
all.

This commit removes the hardcoding of virtualenv location and
consistently uses `$WORKON_HOME` everywhere.
2013-07-11 18:18:22 -04:00
David Baumgold
0a2eda6361 Switch from RVM to rbenv 2013-07-10 09:48:37 -04:00
Xavier Antoviaque
947908e028 Install: Fix install script freeze (syncdb superuser account creation)
Since the output is passed through tee, when the django admin asks the
user if he would like to create a super user account, it blocks the
install, without even showing the question.

Disabled interactivity for syncdb.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
9971c799b2 Install: Make apt-get and mkvirtualenv output log friendly
Added options to make the output of `apt-get` and `mkvirtualenv`
friendlier to getting logged. This allows to be more easily recorded in
log files or when the install is performed through utilities - like
Vagrant.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
52c9a53485 Install: Make curl options more consistent, add logging of errors
The options passed to curl were not always the same - added logging of
error (-S) everywhere (was only used for Mac before) and made it quiet
in the rare few cases where it wasn't yet (-s).
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
6e376fa76d Install: Improves ruby/rvm install - Directly install the right version
The script used to download the latest version of ruby through rvm, then
later on install the one used by the project. Now we directly download
the version of the project when rvm is installed.
2013-07-10 09:25:50 -04:00
Xavier Antoviaque
7a95c37442 Install: Options "-q" (quiet), "-n" (no pull), "-y" (non interactive)
Added several options to the `create-dev-env.sh` script to improve its
ability to be used by another script:

* -y -- non interactive mode (no prompt, proceed immediately)
* -n -- do not attempt to pull edx-platform
* -q -- be more quiet (removes info at beginning & end)

This will be used, in particular, for Vagrant provisioning.
2013-07-10 09:25:49 -04:00
hikari-boulders
61806b2308 update create-dev-env.sh, change one small character
in line 470, changed "curl -O" to "curl -OL" such that the scripts runs without problems.
2013-07-08 17:55:15 +02:00
Julian Arni
fa9a8f4af0 Greater dir naming flexibility.
Accepts any dirname for the edx-platform repo. Allows the script to be
   called from any directory, not just $BASE/edx-platform.
2013-06-21 18:00:30 -04:00
jkarni
bbfadb2f7d Merge pull request #32 from yarko/patch-1
create-dev-env.sh:  if run from repo, set $BASE appropriately
2013-06-21 13:38:47 -07:00
Calen Pennington
fc6043876a Install python and node prerequisites before trying to run django-admin 2013-06-19 09:01:52 -04:00
Calen Pennington
2de645599a Remove trailing whitespace 2013-06-19 09:01:30 -04:00
Calen Pennington
03605ab686 Don't print error messages if log/db/data directories already exist 2013-06-19 09:01:20 -04:00
James Tauber
c0859cb042 Merge pull request #35 from antoviaque/install-update-templates
Install steps - Fixes syntax of `update_templates` django command
2013-06-03 10:47:22 -07:00
Xavier Antoviaque
d606e7fa7d Install steps - Use edx-platform gemset when fetching ruby deps 2013-06-01 20:06:02 -03:00
Xavier Antoviaque
750b1d51ba Install steps - Fixes syntax of update_templates django command 2013-06-01 19:54:08 -03:00
Xavier Antoviaque
2a8105145f Install steps - Fixed typo for installation of rvm on Linux 2013-06-01 19:18:29 -03:00
Xavier Antoviaque
906b70cc41 Install steps - Use "Linux" instead of distribution name to detect OS 2013-06-01 17:46:16 -03:00
yarko
dbcef7d743 create-dev-env.sh: if run from repo, set $BASE appropriately
2 changes:
[1] If PROJECT_HOME is not set, AND create-dev-env.sh is run from a cloned repo, then set BASE to that repo;
else:  (and only finally) set BASE to a default of "$HOME/edx_all"

[2] if PROJECT_HOME is set, or if this is from a repo, don't add edx_all to the BASE name (no need;)
2013-05-31 23:18:38 -05:00
Slater-Victoroff
57e43770d5 cleaning up, some syntax fixed and edge cases considered 2013-05-31 17:51:03 -04:00
Slater-Victoroff
a267f5ec86 Pull request comments addressed, if else condition cleaned up 2013-05-31 17:28:47 -04:00
Slater-Victoroff
9e140dcc32 pull request notes attended to 2013-05-31 16:31:00 -04:00
Slater-Victoroff
d7ba5db81a Added note about the current state of support for debian based systems to accurately reflect state of development 2013-05-31 15:37:30 -04:00
Slater-Victoroff
c87e46969a files cleaned up and debugging nearing the final steps 2013-05-31 15:32:40 -04:00
Slater-Victoroff
56433729c6 Realized an issue requiring us to remove raring support, fixed a couple more bugs 2013-05-31 15:09:13 -04:00
Slater-Victoroff
6272e89014 Down to node errors on Ubuntu 2013-05-31 14:30:56 -04:00
Slater-Victoroff
0ce2ff22f6 testing numpy change on ubuntu 2013-05-31 12:45:36 -04:00
Slater-Victoroff
a76adc2871 Added useful requirements and removed problematic scipy 2013-05-31 12:40:43 -04:00
Slater-Victoroff
ab2a919c92 more tests run, some requirements added for graphviz on ubuntu 2013-05-31 12:22:45 -04:00
Slater-Victoroff
1699d24c9a Successful on mac, almost there on ubuntu 2013-05-31 11:24:07 -04:00
Slater-Victoroff
821621cd52 small edits mostly taken care of 2013-05-31 11:05:20 -04:00
Slater-Victoroff
b489a5d773 distribute fix 2013-05-31 10:41:59 -04:00
Slater-Victoroff
660dbd80b9 small fix 2013-05-31 10:38:18 -04:00
Slater-Victoroff
433043b146 Removed starting courseware clone 2013-05-31 10:37:18 -04:00
Slater-Victoroff
49ed93a4e6 Fixed first stage bugs 2013-05-31 10:35:26 -04:00
Slater-Victoroff
b2cd6915e4 Draft 1 of cross-platform bash script is complete, but more testing needs to be done 2013-05-31 10:14:28 -04:00
Slater-Victoroff
5883ee8a5a Added directory structure tests 2013-05-30 15:03:48 -04:00