官术网_书友最值得收藏!

A few notes about deploying your application

Now that you have a working application, you might want to publish it on hosts. Handling this is quite easy, the longer part being sending the project's files (using FTP, Git, or any other tool depending on your hosting service), but there are a couple of things you should know.

First, you have to set your apache FUEL_ENV environment to production. An easy way to do that is to edit public/.htaccess and uncomment the second line:

SetEnv FUEL_ENV production

Keep in mind, that in this case you will have two different files between your local environment and your production environment, so it will be prone to human error. You are recommended to read the official documentation at http://fuelphp.com/docs/general/environments.html (It can be accessed through the FuelPHP website by navigating to DOCS | TABLE OF CONTENTS | FuelPHP | Environments)

If you are using a shared hosting solution, keep in mind that, as explained in The simplest way section, you should take additional security precautions

主站蜘蛛池模板: 同江市| 介休市| 正定县| 阳泉市| 南京市| 峨眉山市| 无棣县| 郎溪县| 卢龙县| 龙山县| 苗栗市| 林口县| 垣曲县| 平远县| 平南县| 河南省| 昔阳县| 毕节市| 阿拉善盟| 平原县| 嘉定区| 霞浦县| 来凤县| 合川市| 罗田县| 杭锦后旗| 庆安县| 桐柏县| 新丰县| 临夏市| 西盟| 和龙市| 贵阳市| 新邵县| 贵阳市| 孝感市| 峨边| 濮阳县| 万源市| 彰化市| 南澳县|