Page 1 of 1

Installation on local[SOLVED]

Posted: Fri Apr 08, 2011 1:41 am
by resete
Hi!

First of all, this is the first contact with CMS's (cmsms in particular), soy, altough I'll try not to make very dumb questions, excuse me if this is not the case.

My "problem" is that I want to have all my page ready when it comes the time to upload it. I've already installed cmsms on local and I've started messing around with it. I want to know if there is a way to upload and install on a server the modified version that I have on my computer.

Thanks!

PS: I'm not a native english speaker, so excuse me if I've made any mistake.

Re: Installation on local

Posted: Fri Apr 08, 2011 7:53 am
by M@rtijn
No problem, can be done easily!

When you're done setting up the website and you think the time has come to put it online, first clear the cache on your local installation and then follow these steps for backing up the local installation:
http://wiki.cmsmadesimple.org/index.php ... /Upgrading

Then ftp all the files from that backup to your webhost.
Upload the database to your sql database.
Correct the config.php file in the root of your new installation to point to the right locations.
You should edit all information for the following lines:

Code: Select all

$config['db_hostname']
$config['db_username']
$config['db_password']
$config['db_name']

$config['root_url']
$config['root_path']
$config['previews_path']
$config['uploads_path']
$config['image_uploads_path']
Also, you should look at the .htaccess and check if the path is correct

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
(if cmsms is not in a subfolder, then this line should not contain anything after the slash)

Good luck! :D

Re: Installation on local

Posted: Fri Apr 08, 2011 10:22 am
by resete
That's exactly what I wanted.

Thank you very much!