Permalink
Browse files

move installation scripts to etc/install

  • Loading branch information...
1 parent 368b3a6 commit ce6c254490a1beb810d21e6b503a2fefd5f63da5 @gasman gasman committed May 14, 2012
View
@@ -27,5 +27,5 @@ Vagrant::Config.run do |config|
config.vm.share_folder "project", "/home/vagrant/{{ project_name }}", "."
# Enable provisioning with a shell script.
- config.vm.provision :shell, :path => "etc/install.sh", :args => "{{ project_name }}"
+ config.vm.provision :shell, :path => "etc/install/install.sh", :args => "{{ project_name }}"
end
File renamed without changes.
@@ -19,7 +19,7 @@ apt-get update -y
apt-get install -y build-essential python python-dev python-setuptools python-pip postgresql-$PGSQL_VERSION libpq-dev
# postgresql setup
-cp $PROJECT_DIR/etc/pg_hba.conf /etc/postgresql/$PGSQL_VERSION/main/
+cp $PROJECT_DIR/etc/install/pg_hba.conf /etc/postgresql/$PGSQL_VERSION/main/
/etc/init.d/postgresql-$PGSQL_VERSION reload
createdb -Upostgres $DB_NAME
@@ -28,7 +28,7 @@ easy_install virtualenvwrapper
sudo -u vagrant -s -- /usr/local/bin/virtualenv $VIRTUALENV_DIR
sudo -u vagrant -s -- echo $PROJECT_DIR > $VIRTUALENV_DIR/.project
-cp -p $PROJECT_DIR/etc/bashrc /home/vagrant/.bashrc
+cp -p $PROJECT_DIR/etc/install/bashrc /home/vagrant/.bashrc
echo "workon $VIRTUALENV_NAME" >> /home/vagrant/.bashrc
sudo -u vagrant -s -- /usr/bin/pip install -E $VIRTUALENV_DIR -r $PROJECT_DIR/requirements.txt
File renamed without changes.

0 comments on commit ce6c254

Please sign in to comment.