My scripts for time saving !
Run the install command to install scripts to /usr/bin
install-bin.sh
It creates a new MySQL database with a user.
Run the command with a database name
fa-newdatabase chucknorris
It does the same thing than the debian a2ensite script.
Run the command with a host name
fa-a2ensite chuck-norris
It does the same thing than the debian a2dissite script.
Run the command with a host name
fa-a2dissite chuck-norris
It creates for a project the Apache2 vhost configuration, activate the vhost, add the host entry in /etc/hosts, restart Apache2.
In your Apache2 httpd.conf file :
NameVirtualHost *:80
Include sites-enabled/*
Run the command in your project folder and choose a host name :
fa-newhost chuck-norris
Based on http://www.willdurand.fr/creation-automatique-dun-projet-symfony-mysql-git-et-apache2/
- Fork it.
- Create a branch (
git checkout -b my_markup
) - Commit your changes (
git commit -am "Added Snarkdown"
) - Push to the branch (
git push origin my_markup
) - Create an [Issue][1] with a link to your branch
- Enjoy a refreshing Diet Coke and wait