User login

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
/etc/init.d/apache2 reload
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.
Granted usage.
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:
A4KDWFcVikttQu1x

@TODO:

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.

Resolution

Searched words: 
Set up new site the Agaric way roll out another site using the Agaric system install new site make new site Create new site procedure

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.