Yii Framework Forum: Yiiboilerplate Installed An Extremely Slow - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yiiboilerplate Installed An Extremely Slow

#1 User is offline   jsasitorn 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 25-February 13

Posted 25 February 2013 - 03:54 PM

I just installed YiiBoilerplate on my shared Dreamhost webhost running PHP 5.3.13 and it seems really slow. These are the steps I followed:

1. Downloaded and unzipped Boilerplate
2. Edited common/config/environments/params-prod.php and console/config/main.php to provide database support
3. ./runpostdeploy prod migrate

When I go to the url backend/www/ in my browser it takes over 30s for the "Welcome to Clevertech Backend Boilerplate" page to load. Any ideas why it is taking so long, or how I can go about debugging this?

Thanks,
James
0

#2 User is offline   waitforit 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 473
  • Joined: 09-February 11

Posted 25 February 2013 - 06:16 PM

Edit index.php, turn off debugging. All assets are copied with each request in debug mode.
0

#3 User is offline   jsasitorn 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 25-February 13

Posted 26 February 2013 - 10:03 AM

Thanks..

View Postwaitforit, on 25 February 2013 - 06:16 PM, said:

Edit index.php, turn off debugging. All assets are copied with each request in debug mode.

0

#4 User is offline   leo4all 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 31
  • Joined: 01-April 13
  • Location:Alajuela, Costa Rica

Posted 03 April 2013 - 10:41 AM

Can someone help me out, am a little confuse.

- Unzip YiiBoilerplate

From Within Backend / Frontend
- Make configurations Which one ??? (****-private.php*** and the ****-local.php** files)
or
/common/config/enviroments/params-private.php
/common/config/params-env.php
/common/config/params-local.php

Lets say I am under local, wich file should I edit and what config should be.

- Run runpostdeploy environmentType migrations


- After setting up and finish the project, what files should I upload to the production server.
and which should be remove (security concern)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users