Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move installation scripts to etc/install

  • Loading branch information...
commit ce6c254490a1beb810d21e6b503a2fefd5f63da5 1 parent 368b3a6
@gasman gasman authored
View
2  Vagrantfile
@@ -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
View
0  etc/bashrc → etc/install/bashrc
File renamed without changes
View
4 etc/install.sh → etc/install/install.sh
@@ -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
View
0  etc/pg_hba.conf → etc/install/pg_hba.conf
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.