Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (27 sloc) 1.137 kB
sudo mkdir -p /var/www/
git clone git@github.com:Headlinerfm/headlinerlite.git /var/www/headlinerlite
cd /var/www/headlinerlite
git checkout dev
git submodule init
git submodule update
mysql -u root -h localhost -e "create database headlinerlite; grant all on headlinerlite.* to 'root'@'localhost'"
mysql -u root -h localhost -e "create database headlinerlite_dev; grant all on headlinerlite_dev.* to 'root'@'localhost'"
gem install bundler
bundle install --path vendor
bundle pack
cd ./config;
for old in *.yml.default; do cp $old `basename $old .yml.default`.yml; done;
cd ..
bundle exec rake db:migrate
bundle exec rake db:seed
bundle exec rake db:test:prepare
#echo "now, downloading the php headliner website"
#git clone git@github.com:Headlinerfm/HeadlinerWebsite.git /var/www/HeadlinerWebsite
cd /var/www/;
sudo mkdir headliner;
cd headliner;
sudo ln -s ../headlinerlite/public/ exchange;
# [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub >> $PATH/headlinerlite/authorized_keys
# git commit authorized_keys -m "$NAME keys"
# git push origin dev
echo "all done for now. pester bill, and he'll put together your nginx config"
Jump to Line
Something went wrong with that request. Please try again.