Setting up a site using drupal as the CMS
These are the things that I need to do in order to set up a new site.
- create the directory in the SVN repository on the server.
- edit the httpd.conf file locally to set up the virtual host, located at /etc/httpd/.
- edit the local hosts file located at /etc/hosts.
- copy an instance in the standard drupal files in to the place where the working copy is going to be kept in my case /Volumes/Local_Work/svn/*siteroot*.
- go to the alias that you have set up in the hosts file which should match the alias that you set up in the httpd.conf file.
- you should see the drupal page telling you that it cant access the database.
- open your MySQL GUI create a new database.
- change the permissions on the settings file to 777 (just for the time being) in the drupal site. located at /sites/default/
- go back to your browser and refresh the page you should now see a page asking you to set up the database.
- change the database to the same name as the one you set up in step 7.
- you then have to log in to the drupal site (normally this is when I create the admin user and password if it's local I just use a crap password but don't forget to change it later once its semi live).
- thats it you should now be able to customise the site.
Comment on Twitter