Yii Framework Forum: Yiinitializr - Yii Framework Forum

Jump to content

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

Yiinitializr Maximum acceleration for your Yii project start! Rate Topic: -----

#1 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,450
  • Joined: 04-October 10

Posted 12 April 2013 - 06:13 PM

Yiinitializr is a project template generator for the Yii Framework to help you JUMPSTART any new project. It generates clean customizable boilerplate templates that are just what you need to begin your project off right and with the extensions that you need to accelerate your setup and launch time to the max!

Check it out here: http://yiinitializr.2amigos.us


Good feedback always welcome!
¿How long would it take for you to understand that you own nothing in this world?

www.ramirezcobos.com
www.2amigos.us
www.github.com/tonydspaniard
www.github.com/2amigos


Posted Image
3

#2 User is offline   yasen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 32
  • Joined: 29-October 11
  • Location:Sofia, Bulgaria

Posted 22 May 2013 - 08:24 AM

Hi Tony and grats on the great work. Saw the Yiinitializr Twitter page and thought that it would be cool to have a Facebook page too. :rolleyes: Good luck.
0

#3 User is offline   blaces 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 82
  • Joined: 06-April 12

Posted 28 July 2013 - 05:48 AM

Hi.

Where can I found the documentations? ( I need details about the Yiinitializr)

1. How can I use the Gii? ( http://localhost/myapp/index.php?r=gii - but it doesn't work )
2. How can I enable the sites?
I tried use the LoginFrom.php in the models (from YiiBoilerplate) and the login.php (from YiiBoilerplate), but when I copied to the backend/views/site directory and than tried this link: /backend/www/login.php or /backend/views/login.php, it doesnt work, I can reach this page... I got the 'Not found')
3. How can I create users in my Database? What kind of tables, Controllers etc?
0

#4 User is offline   toor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 03-August 13

Posted 03 August 2013 - 02:49 PM

View Postblaces, on 28 July 2013 - 05:48 AM, said:

Hi.

Where can I found the documentations? ( I need details about the Yiinitializr)

1. How can I use the Gii? ( localhost/myapp/index.php?r=gii - but it doesn't work )
2. How can I enable the sites?
I tried use the LoginFrom.php in the models (from YiiBoilerplate) and the login.php (from YiiBoilerplate), but when I copied to the backend/views/site directory and than tried this link: /backend/www/login.php or /backend/views/login.php, it doesnt work, I can reach this page... I got the 'Not found')
3. How can I create users in my Database? What kind of tables, Controllers etc?


are you already install the dependencies using composer ?
0

#5 User is offline   GPCola 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 08-August 13

Posted 08 August 2013 - 09:22 AM

I wonder if someone could help with a problem I'm having installing the dependencies:

# php composer.phar install
...
...
...
Runtime 'assets' folders creation process finished.
Script Yiinitializr\Composer\Callback::preInstall handling the pre-install-cmd event terminated with an exception

[ErrorException]
Undefined index: REMOTE_ADDR

this happens whether I run composer locally or globally.

Google tells me that this is occurring because REMOTE_ADDR isn't available in CLI mode so, assuming it's not essential I guess I could edit the line that's calling that variable but I've no idea what file to edit... :(

This post has been edited by GPCola: 08 August 2013 - 01:53 PM

0

#6 User is offline   blaces 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 82
  • Joined: 06-April 12

Posted 12 August 2013 - 08:51 AM

View Posttoor, on 03 August 2013 - 02:49 PM, said:

are you already install the dependencies using composer ?

Yes, I used the composer, and I loved it :). I will use the composer for my future webapps. But here I can't solve my problems.
0

#7 User is offline   Fahd 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 17-August 11

Posted 17 October 2013 - 03:13 PM

I'm using Yiinitializr currently for an app and loving it so far. I've been working with shared servers and mediatemple DV server. My question is that what extra steps (other than usual yii ones) would I take to deploy my app on a production server? Also what requirements should the server meet cuz I'm confused about multiple "www" directories. Can someone please share an example setup or point me in the right direction?
0

#8 User is offline   Fahd 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 17-August 11

Posted 22 November 2013 - 05:11 PM

Guy come on need help here.
0

#9 User is offline   Jón Ingi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 08-August 12

Posted 24 November 2013 - 09:15 AM

Hi

I recently came across this great library and I've started using it for my application.
It's very well structured and easy to set up, APART from one problem that I've been having; I cannot get the Yii::t() to work properly.
I've set my sourceLang to en and my language to dk, within my common/config/main :
'sourceLanguage'=>'en',
    'language' => 'dk',
    'components' => array(
        'messages'=>array(
            'basePath'=>'common.messages',
        ),....

Yii::app()->language prints out dk but each time i try calling f.ex. my User.php message file, within common.messages as:
echo Yii::t('User','username');

It only returns username, i.e. the same string as I indicate in the Yii::t function. But it SHOULD return 'brugernavn' as defined within the User.php message file.

This has never been a problem before, in other applications I've made with Yii. What am I doing wrong?
0

#10 User is offline   Jón Ingi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 08-August 12

Posted 25 November 2013 - 10:59 AM

View PostJón Ingi, on 24 November 2013 - 09:15 AM, said:

Hi

I recently came across this great library and I've started using it for my application.
It's very well structured and easy to set up, APART from one problem that I've been having; I cannot get the Yii::t() to work properly.
I've set my sourceLang to en and my language to dk, within my common/config/main :
'sourceLanguage'=>'en',
    'language' => 'dk',
    'components' => array(
        'messages'=>array(
            'basePath'=>'common.messages',
        ),....

Yii::app()->language prints out dk but each time i try calling f.ex. my User.php message file, within common.messages as:
echo Yii::t('User','username');

It only returns username, i.e. the same string as I indicate in the Yii::t function. But it SHOULD return 'brugernavn' as defined within the User.php message file.

This has never been a problem before, in other applications I've made with Yii. What am I doing wrong?


I finally managed to fix this. It seems like the message component cannot recognize the 'common' alias . This is what i did:
        'messages'=>array(
            'class' => 'CPhpMessageSource',
            'basePath'=> dirname(__FILE__) . DIRECTORY_SEPARATOR . '..'. DIRECTORY_SEPARATOR  . 'messages',
        ),

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