Make a new Drupal site project in the Agaric system
This is deprecated in favor of Deploying the Agaric Way.
Run from anywhere on the test or development server:
sudo /srv/scripts/agaric-newproject.sh 5 myagaric myagaric.com my.agaricdesign.com
You'll see a fair amount of output, and the last line you see should be:
Site myagaric installed; run /etc/init.d/apache2 reload to enable.
Run once as a test and once without sudo to look for problems (other than permission denied on the one run without sudo). Look for Syntax OK after running the first command, and permission denied on "make_sock: could not bind to address" is the first error for the one without sudo.
sudo /usr/sbin/apache2ctl -t
sudo /etc/init.d/apache2 reload
Currently a separate step, we should roll it in: installing the database.
sudo /srv/scripts/agaric-createdatabase.sh myagaric
I will show all the output because I love it so:
Connected to database server.
User myagaric created.
Database myagaric created.
Granted privileges of user myagaric to database myagaric
Copy and save this password for use on the Drupal install page, if needed:
edit settings.php directly and protect it.
Create sites/default/files and make it writeable by the web user.
Make an installation profile that sets this directory, turns on clean URLs, etc.