Settings for Development Sites

The Ramsey county website is optimized for the production environment. You will likely want to adjust settings for error logging, caching, etc, to facilitate easier testing and development.

Perform These Steps for ALL Development Sites

  • Sanitize the database when pulling from the Acquia Dev Desktop. This will prevent emails (password resets, etc) from being sent from your local site to active user accounts.
  • Reset your password. You will have to reset your Drupal user's password because you sanitized the database. This can be done with the following drush command:
    drush user-password <username> --password <password>
  • Change the site email address from the Site Information page to your email address. This will prevent the tech support alias from receiving emails from your local site.
    The following site email addresses are set for the Acquia hosted cloud sites:

Additional Steps for Publically Accessible Sites (Dev, Stage, Ramsey team Acquia sites)

  • Create a generic admin user. Because SSL is not offerred by Acquia on their domains, we must protect real user credentials on all non-production sites. You can create a new administrator account with the following drush commands:
    drush user-create <username> --password <password>
    drush user-add-role administrator <username>
  • Block non-developer users accounts from the User management so that they cannot log in.

Error Logging

Errors are supressed in the production environment. You may adjust the inline page error logging or watch for errors directly in the recent log messages list.  

Testing Webforms

Check the email settings for the specific webform you are going to be testing. Edit the webform, go to the "Webform" tab and then the pill link called "E-mails" Example: Sample webform e-email settings