Last active
August 29, 2015 14:13
-
-
Save errakeshpd/1d7cd337cc4130868cf0 to your computer and use it in GitHub Desktop.
command in the scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod +x myinstance.sh; | |
cp ../vx/ ../instance/myinstance -r; | |
mv myinstance.yml ../instance/myinstance/config/ -r; | |
mv myinstance_sidekiq.yml ../instance/myinstance/config/ -r; | |
sudo mv myinstance.yml /etc/apache2/sites-available/myinstance-site; | |
mv myinstance.rb ../instance/myinstance/; | |
chown group pitadmin:pitadmin../instance/myinstance/ -r | |
cd ../instance/myinstance/ | |
bundle install&; | |
rake db:create; | |
rake db:migrate; | |
rake db:seed;& | |
sudo service apache2 restart; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment