Commit Graph

87 Commits

Author SHA1 Message Date
David Baumgold
decda74899 Teach install-system-req.sh about brew bundle 2014-02-06 14:11:11 -05:00
hkim823
70ca3a4729 fixing create-dev-env.sh to use Brewfile 2014-02-06 11:10:05 -05:00
Will Daly
8ee601a5e3 Clean up Mongo databases created by the test suite. 2014-02-05 11:07:34 -05:00
Will Daly
a86d56ccba Cache databases to speed up acceptance tests 2014-01-28 14:39:26 -05:00
Calen Pennington
7db4cca826 Make the release script not fall over when piping data to a file 2014-01-06 12:59:47 -05:00
e0d
6134bb5384 cr comments 2013-12-19 23:09:23 -05:00
e0d
c5ecbc1d42 script bombs if comments include unicode 2013-12-18 21:47:49 -05:00
David Baumgold
fb13bed947 Updating comments and docs for MITx -> edX transition 2013-12-10 13:21:18 -05:00
Ned Batchelder
149c3fd05f Make runone work with more test output. 2013-12-03 14:13:54 -05:00
David Baumgold
6bdff09a5c Removed old release script 2013-11-13 13:23:17 -05:00
David Baumgold
da49c353b5 Ignore certain emails in release script 2013-10-28 16:56:42 -04:00
David Baumgold
881b1ef9d4 Fixes to release.py script 2013-10-28 16:06:24 -04:00
David Baumgold
c1a152d60a Improved release script 2013-10-28 11:48:05 -04:00
David Baumgold
ac47b18996 Release email script: use --no-pager 2013-10-21 13:45:31 -04:00
Greg Price
6b7749f25e Fix bug that omits commits in release email script
The command built to generate the list of commits committed but not
authored by a particular individual was incorrect, so some commits
were incorrectly omitted in the table as entries belonging to the
committer.
2013-10-08 15:22:57 -04:00
Will Daly
c37a74d2e2 Added script to install acceptance test requirements;
updated Vagrantfile

Added dbus-x11 requirement (for FF); increased VM memory

Updated ChromeDriver version
2013-09-18 10:07:18 -04:00
Calen Pennington
8201b1412e Use XBlock 0.3 2013-09-06 09:45:59 -04:00
Xavier Antoviaque
0a5b68263e vagrant: Add flag to ensure install is completed at least once
The provisioning script used to check for the existence of the
`/opt/edx/node_modules` folder to decide if the installation has already
been completed. However, since additional instructions were executed
by the installer afterwards, any installation error (eg. download
timeouts on low quality connections) happening between the creation of
that folder and the end of the installation wouldn't be recovered from
on the next vagrant instance boot.
2013-09-05 13:10:48 -03: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
David Baumgold
7d7513b6fe Merge pull request #470 from edx/db/course-team-admin-grants
Grant admin rights to members of the course team
2013-07-30 13:36:56 -07:00
Calen Pennington
f0d0da37f1 Merge pull request #454 from edx/cale/default-branch-info-for-release-email-script
Default branch info for release email script
2013-07-29 11:47:28 -07:00
David Baumgold
8a10695d7e Extend runone script to accept pdb flags 2013-07-29 13:12:05 -04:00
Calen Pennington
e648347381 Default branch info for release email script 2013-07-29 13:01:06 -04:00
Calen Pennington
76055aa211 Add a manage.py command that understands the extra edX options 2013-07-24 09:04:12 -04:00
David Baumgold
f780369afa Merge pull request #453 from edx/yarko/vagrant-up-fix
Fixes for `vagrant up`
2013-07-22 09:29:54 -07:00
Calen Pennington
1b6f81b0c2 Merge pull request #408 from edx/cale/make-release-email-script-wiki-friendly
Make release email script wiki-friendly
2013-07-22 05:59:02 -07:00
Yarko Tymciurak
3991711edb Fixes for vagrant up
vagrant:
  - check actual IP;
  - only init machine first time, just as native installations;
  - add .bash_profile to permissions fixup;
  - cleanup excessive newlines in making .bash_profile;

README:
  - include admin & debugging use;
  - info about re-initializing VM & manually running create-dev-env.sh;
  - add django admin & debug_toolbar setting info

Conflicts:
	AUTHORS
	scripts/vagrant-provisioning.sh
2013-07-21 19:16:01 -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
Calen Pennington
3d1188b126 Make release email script wiki-friendly 2013-07-16 08:29:18 -04:00
David Baumgold
5a5b3cfe8a Merge pull request #384 from antoviaque/vagrant-mount
vagrant: Always mount `node_modules` folder after Vagrant NFS mount
2013-07-12 12:17:51 -07:00
Calen Pennington
772dd30259 Merge pull request #249 from edx/feature/cale/release-email-list
Tidy up argument parsing in release email script
2013-07-12 08:47:42 -07:00
Xavier Antoviaque
bdca0f1d0e vagrant: Always mount node_modules folder after Vagrant NFS mount 2013-07-12 11:15:00 -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
64835febe6 vagrant: .bash_profile loads .bashrc
Otherwise, `vagrant ssh` doesn't load the rbenv shims, because that line is in
the .bashrc file.
2013-07-10 10:51:32 -04:00
David Baumgold
0a2eda6361 Switch from RVM to rbenv 2013-07-10 09:48:37 -04:00
Xavier Antoviaque
a0edbe714b vagrant: Fix prereqs update when prereqs had been fetched outside of VM 2013-07-10 09:26:44 -04:00
Xavier Antoviaque
c24807effa vagrant: Windows - Bind node_modules to a ext4 partition for symlinks 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
5db56573d9 vagrant: Remove rvm Ubuntu package installation (triggers rvm bug) 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
214734d1dc vagrant: Set $PROJECT_HOME - $BASE was set to the default path
Yarko's `$BASE` patch has been merged and rewritten since
the original pull request was created, resulting in the `$BASE` being
incorrectly set to the default `/home/vagrant/edx_all` by the new code.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
ee4b34b6ad vagrant: Moves from /opt/edx-platform to /opt/edx/edx-platform
To allow the vagrant user to create the /opt/edx/[log|data|db] folders
2013-07-10 09:26:42 -04:00
David Baumgold
293aaedc33 Vagrant: install edx-platform under /opt
Compatibility with the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
1404076732 Vagrant: Add support for Vagrant install (vagrant up)
Cf README, this adds support to install and setup a dev instance through
Vagrant. The Vagrantfile at the root handles the vagrant commands like
`vagrant up`.

Provisioning is done by the shell script `vagrant-provisionning.sh`,
which is a light wrapper around the `create-dev-setup.sh` which does
most of the job using the standard process, but limiting possible
side-effect by ensuring the environment on which the install is
performed is clean.

Based on an Ubuntu precise 12.04 LTS.
2013-07-10 09:26:42 -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
Xavier Antoviaque
ba8c2999c4 Install: Fix use of DEBIAN_FRONTEND - sudo clears environment
Before executing a command, for security reasons `sudo` clears the
environment, so the value of DEBIAN_FRONTEND was never passed to
apt-get. This was causing the mysql packqge to still prompt for
a value interactively.
2013-07-10 09:25:49 -04:00
Calen Pennington
dcaed88cb2 Merge pull request #313 from edx/cale/use-super-for-calling-parent-__init__-methods
Use super for calling parent __init__ methods
2013-07-10 06:17:41 -07: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