/modulaise/boilerplates/projects/Wordpress/README.markdown

https://github.com/holdensmagicalunicorn/modulaise · Markdown · 82 lines · 54 code · 28 blank · 0 comment · 0 complexity · 6ac14677d2fcf5e5f818317a2b44ab14 MD5 · raw file

  1. Configuration
  2. ===============================================================================
  3. These instructions cover how to set up the apache server to serve your new
  4. project "__PROJECT_NEW_NAME__".
  5. Please note that if you are not on windows, or if you have installed your
  6. Apache server in a different location, you have to customize the relevant
  7. paths in the following.
  8. 1. Modify your hosts file
  9. -------------------------------------------------------------------------------
  10. Add the following line to your hosts file ``__FILE_HOSTS__``:
  11. 127.0.0.1 __PROJECT_NEW_NAME__.localhost
  12. 2. Configure Apache server
  13. -------------------------------------------------------------------------------
  14. Add the following to your Apache configurations file ``__FILE_APACHE_CONFIGURATION__``:
  15. <VirtualHost 127.0.0.1:80>
  16. ServerAdmin webmaster@__PROJECT_NEW_NAME__.localhost
  17. DocumentRoot "__DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent"
  18. ServerName __PROJECT_NEW_NAME__.localhost
  19. ErrorLog "logs/__PROJECT_NEW_NAME__.localhost.log"
  20. CustomLog "logs/__PROJECT_NEW_NAME__.localhost-access.log" common
  21. DirectoryIndex index.php index.html
  22. <Directory />
  23. Options FollowSymLinks
  24. AllowOverride All
  25. </Directory>
  26. <Directory __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent>
  27. Options Indexes FollowSymLinks MultiViews
  28. AllowOverride All
  29. Order allow,deny
  30. allow from All
  31. </Directory>
  32. </VirtualHost>
  33. 3. Unzip Wordpress
  34. -------------------------------------------------------------------------------
  35. Unzip your Wordpress zip-file into the WebContent directory:
  36. __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent
  37. If you have correctly unzipped the files, you will have a directory
  38. layout like this:
  39. __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent/modulaise/
  40. __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent/wp-admin/
  41. __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent/wp-admin/
  42. __DIR_WORKSPACE__/__PROJECT_NEW_NAME__/WebContent/wp-admin/
  43. 4. Setup a database
  44. -------------------------------------------------------------------------------
  45. And don't forget the username and password, as you are going to need it when
  46. installing the Wordpress blog.
  47. 5. Restart Apache server
  48. -------------------------------------------------------------------------------
  49. Verify succes of installation by pointing your browser to:
  50. http://__PROJECT_NEW_NAME__.localhost
  51. Revision History
  52. -------------------------------------------------------------------------------
  53. * 20101230, [Lars Jensen](mailto:lars.jensen@exenova.dk)
  54. Created the readme file