Welcome Guest, Not a member yet? Register   Sign In
How to deploy the application (like go daddy)?
#1

[eluser]ted wong[/eluser]
Hi, all. I am new to develop web application, using a framework like CodeIgniter.
I would like to know how to deploy the application on the production server?
Basically, I work on my machine, and put it in the htdocs file. It all works. But when
I deploy in a public domain site, I don't my config, controller, model or even the view
can should to the public, not only cannot read, but I would like it is cannot reachable.
But the CodeIgniter have a beautiful file structure, how can I move out somethings or
let the framework run outside the htdocs, and the user still can see the result?? Thank you.


(perviously, I out all the "important" class outside the htdocs folder, and other not so important .php file
will import the absolute path, and that path is only reachable for the machine, but not open to public,
so, the "not so important .php" can use the "important" php 's function.)
#2

[eluser]praveens[/eluser]
Through ftp upload all your files to godaddy server,create new database and dump all tables to your newly created database once you done change database host name and set username and password in config/database.php
#3

[eluser]ted wong[/eluser]
But how can I product the config/database.php? I don't want to share to the public....If I upload on the /htdocs, I am afraid others can get access to my config files or others controllers.
#4

[eluser]buonzz[/eluser]
http://ellislab.com/codeigniter/user-gui...index.html

take some time to read the user guide
#5

[eluser]Unknown[/eluser]
[quote author="buonzz" date="1312987859"]http://ellislab.com/codeigniter/user-guide/installation/index.html

take some time to read the user guide[/quote]

okay i will..thank's for advice!! Smile

Gena
<a href="http://kissingtalk.com/">kissing</a>




Theme © iAndrew 2016 - Forum software by © MyBB