I have been building a website for a client, who has requested that I port the code over to his production server so he can view the "pages". I have responded by telling him that Drupal doesn't work that way - there are no "pages" as such. Drupal has 5 layers of archetecture through which everything is processed when called for. "Pages" don't exist till' requested for, then they are generated based on the settings in each layer as they pass through and are processed. Am I correct in this statement?

In order for him to see this site, I need to see if his host (IPower) supports Drupal and install it to his production environment. Then bring the site up. Is this correct? And BTW, how do I get the site uploaded?

Comments

scottatdrake’s picture

Yep, you are pretty much correct in your statement about the "pages." (Although, I'm not sure I could tell you what the 5 layers are. Linux, Apache, MySQL, PHP... and...? Meh. No matter.)

I need to see if his host (IPower) supports Drupal
It depends on what you mean by supports. A quick look at their hosting plans show me that they've got PHP5 and MySQL available so you should be able to get Drupal running just fine. If you mean support as in, "I hope they will install and configure it for me," then you're probably out of luck.

I'm going to be really vague here because I don't know you're exact setup. You'll have to move over two things. The info in the database and the directory tree with all the files and other junk in it.

Database: Export the existing one. Create a new empty database on the "production" server. Import the info from your old one.

Files: Since you (probably) don't want to copy over the top of the existing live site, create a sub-folder or some other place for your test site to live. Copy the drupal files from your machine to the new folder on the host. Then, you'll have to edit settings.php to contain the database name and username for the new database on the host (and maybe a few other settings in there).

Anyway, that's a general overview. Hope it helps.

2Hearts’s picture

the 5 layers are:
- datapool (nodes, sets, collections from other locations
- modules (Drupal core, function plug-ins, developed functions)
- Blocks & Menus (module o/p, themes, menus, blocks)
- Permissions (global permissions, roles, user permissions)
- Template (what the user sees; XHTML, CSS, etc)

I'm new. This is straight out of the handbook, embelished a little!

scottatdrake’s picture

Good to know! :)