Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. Please configure your database connection details. You can do this by creating a file
  2. called _ss_environment.php in either of the following locations:
  3.  
  4. - /var/www/squandered.org_ss_environment.php
  5. - /var/www_ss_environment.php
  6.  
  7.  
  8. Put the following content into this file:
  9. --------------------------------------------------
  10. <?php
  11.  
  12. /* Change this from 'dev' to 'live' for a production environment. */
  13. define('SS_ENVIRONMENT_TYPE', 'dev');
  14.  
  15. /* This defines a default database user */
  16. define('SS_DATABASE_SERVER', 'localhost');
  17. define('SS_DATABASE_USERNAME', '<user>');
  18. define('SS_DATABASE_PASSWORD', '<password>');
  19. define('SS_DATABASE_NAME', '<database>');
  20. --------------------------------------------------
  21.  
  22. Once you have done that, run 'composer install' or './framework/sake dev/build' to create
  23. an empty database.
  24.  
  25. For more information, please read this page in our docs:
  26. http://doc.silverstripe.org/framework/en/topics/environment-management
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement