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

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

主站蜘蛛池模板: 兰溪市| 黄山市| 北京市| 洛川县| 诸城市| 西宁市| 泸州市| 苏尼特右旗| 肥东县| 当雄县| 青田县| 姚安县| 邯郸市| 红安县| 闻喜县| 天等县| 富裕县| 石首市| 蒙自县| 航空| 肥城市| 彩票| 新龙县| 乌鲁木齐市| 全椒县| 阳新县| 汤原县| 上饶县| 乌兰浩特市| 宁海县| 桂林市| 舟曲县| 托里县| 略阳县| 寿阳县| 鹤壁市| 扬州市| 微山县| 丰原市| 罗定市| 依兰县|