Last active
January 4, 2016 15:09
-
-
Save michael-bouvy/8639331 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
mkdir -p /var/www/rbschange/repository/framework | |
cd /var/www/rbschange/repository/framework | |
git clone https://github.com/RBSChange/framework framework-x.y.z | |
cd ../.. | |
ln -s repository/framework/framework-x.y.z framework | |
echo "default" > profile | |
vi change.xml # put appropriate content | |
vi change.properties # put appropriate content | |
sudo chgrp www-data . | |
sudo chmod 775 . | |
sudo -u www-data php framework/bin/change.php init-project | |
sudo -u www-data php framework/bin/change.php init-webapp | |
vi config/project.default.xml # configure properly | |
mysql -y your_user -p # create database | |
sudo -u www-data php framework/bin/change.php generate-database | |
sudo -u www-data php framework/bin/change.php reset-database | |
cd themes | |
git clone https://github.com/RBSChange/themes.default default | |
cd .. | |
sudo -u www-data php framework/bin/change.php theme.install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment