Commit Graph

9 Commits

Author SHA1 Message Date
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
bdca0f1d0e vagrant: Always mount node_modules folder after Vagrant NFS mount 2013-07-12 11:15:00 -03: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
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
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