Setup (install ruby dependencies & import database sample):
bundle install
mysql -u root -e "drop database waq2014;create database waq2014;"
mysql -u root waq2014 < dump.sql
Run the app and compile assets :
sudo php -S waq2014.lvh.me:80 -t wordpress
bundle exec compass watch wordpress/wp-content/themes/waq2014
User admin
password is qwe123
in development.
Please change it when deploying :-)
First setup database from a dump ex. :
replace "http://waq2014.lvh.me" "http://staging.webaquebec.org" -- dump.sql
mysql -u waq_staging --password=X waq_staging < dump.sql
Then deploy updates with capistrano
bundle install
cap staging deploy
Thanks to Libéo team for sponsoring 2014 website.
Thanks @j15e for writing a README and managing deployment.
See all contributors