Bài đăng

Đang hiển thị bài đăng từ tháng 8 18, 2013

Step By Step Setup YiiBoilerPlate

copy from http://myprogrammingtut.blogspot.com/2013/04/step-by-step-setup-yiiboilerplate.html Yii Boilerplate Installation Guides: 1. Download YiiBoilerplate from https://github.com/clevertech/YiiBoilerplate 2. Map admin.domainname.com (or similar) to backend > www Map domainname.com (or similar) to frontend > www (if required) 3. Create database for app Create database for test with suffix _test (if required) 4. Add db details to common > config > params-local.php 5. Remove comments from db connections in console > config > main.php Remove comments from db connections and gii in backend > config > main.php Remove comments from db connections in frontend > config > main.php (if required) 6. Run the following command ./runpostdeploy local non-migrate ./yiic migrate Yii Boilerplate Get Start: ** Please chmod 777 for the following file and folder - yiic and runpostdeploy - backend/views - backend/controllers - backend/models 1. Run t