These are chat archives for luyadev/luya

20th
Mar 2017
josephng
@josephng
Mar 20 2017 06:47
hi anyone here?
Basil
@nadar
Mar 20 2017 06:48
Yes
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:48
Yep
josephng
@josephng
Mar 20 2017 06:48
May I ask
My computer OS is Win 10
but I can't finish the installation
stuck at the migrate part
any way to solve it ? Thanks.
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:50
what exactly went wrong?
Any error messages?
josephng
@josephng
Mar 20 2017 06:51
blob
Basil
@nadar
Mar 20 2017 06:51
How
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:52
composer exec luya migrate
josephng
@josephng
Mar 20 2017 06:52
yeap, test already, still not work
wait, i show you the screenshoot
inside the public_html right?
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:53
no
in luya-kickstarter
josephng
@josephng
Mar 20 2017 06:54
blob
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:54
inside luya-kickstarter directory exist composer.json
josephng
@josephng
Mar 20 2017 06:54
blob
Basil
@nadar
Mar 20 2017 06:55
try to run it with your php bin from the os folder. php.exe
Andrey Svetlichniy
@Emericanec
Mar 20 2017 06:56
/folder/to/your/bin/php.exe index.php luya migrate
like this?
Basil
@nadar
Mar 20 2017 06:56
php.exe index.php luya migrate (maybe just: php index.php luya migrate) inside the public_html folder
josephng
@josephng
Mar 20 2017 06:58
blob
Basil
@nadar
Mar 20 2017 06:59
does php.index / php index.php migrate work?
(cause on windows there is no luya bin dir if not called via composer exec)
josephng
@josephng
Mar 20 2017 07:01
not work
Basil
@nadar
Mar 20 2017 07:01
screenshot?
josephng
@josephng
Mar 20 2017 07:02
php.index.php luya migrate
and
php index.php index luya migrate?
Basil
@nadar
Mar 20 2017 07:02
no without luya
php index.php migrate
(or maybe its php.exe index.php migrate) all in the public_html folder
josephng
@josephng
Mar 20 2017 07:03
blob
Basil
@nadar
Mar 20 2017 07:03
looks good!
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:03
change config
for db connection
env-local-db.php
josephng
@josephng
Mar 20 2017 07:04
blob
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:04
do you see?
username and password is empty
but you should set it
josephng
@josephng
Mar 20 2017 07:05
need fill something?
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:05
yes :)
josephng
@josephng
Mar 20 2017 07:05
i fill with Root - Username
and Root- password, okay?
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:06
idk
seed4956
@seed4956
Mar 20 2017 07:06
blob
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:06
it depends on your mysql
seed4956
@seed4956
Mar 20 2017 07:07
after this? I face the same problem too
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:07
When you installed mysql you set username and password for mysql
this configs you should set in env-local-db.php
if it was root/root then your code is correct
josephng
@josephng
Mar 20 2017 07:10
ya, Username = Root
password = empty
Andrey Svetlichniy
@Emericanec
Mar 20 2017 07:11
ok
now all is ok ?
josephng
@josephng
Mar 20 2017 07:11
YES
WORK
THANKS !
seed4956
@seed4956
Mar 20 2017 07:12
thx you guys so much
love you all
seed4956
@seed4956
Mar 20 2017 08:42
hi, anyone here again?
josephng
@josephng
Mar 20 2017 08:56
@nadar hi
@Emericanec hi
Basil
@nadar
Mar 20 2017 08:58
yes
josephng
@josephng
Mar 20 2017 08:58
I have problem again about the module 'News'
installing not working
Basil
@nadar
Mar 20 2017 08:59
what is the problem?=
josephng
@josephng
Mar 20 2017 08:59
blob
I done composer require the module-news
but after i fill
'news' => 'luya\news\frontend\Module',
'newsadmin' => 'luya\news\admin\Module',
in the config file
then it show does not exist
Basil
@nadar
Mar 20 2017 09:00
have you used the rc2 version oder ^1.0@dev ?
could you show me your composer json
josephng
@josephng
Mar 20 2017 09:01
composer require luyadev/luya-module-news:1.0.0-RC2
Basil
@nadar
Mar 20 2017 09:01
and composer install was sucessfull? so can you find the class in your vendor folder? luyadev/luya-module-news/...
josephng
@josephng
Mar 20 2017 09:02
blob
yes install successful
seed4956
@seed4956
Mar 20 2017 09:02
blob
josephng
@josephng
Mar 20 2017 09:04
blob
Basil
@nadar
Mar 20 2017 09:05
@josephng its in the modules section of your config?
josephng
@josephng
Mar 20 2017 09:06
if I put, then I cannot run it
Basil
@nadar
Mar 20 2017 09:06
@seed4956 When using luya rc2, you should require the rc2 version of the news module as well and not the dev-master
josephng
@josephng
Mar 20 2017 09:06
'news' => 'luya\news\frontend\Module',
'newsadmin' => 'luya\news\admin\Module',
this right?
Basil
@nadar
Mar 20 2017 09:07
yes its right
'modules' => [
   // ... here
],
josephng
@josephng
Mar 20 2017 09:07
master good or rc2 good?
Basil
@nadar
Mar 20 2017 09:07
when using the master, the core and the cms must be the dev-master as well. Currently you can not mix those
josephng
@josephng
Mar 20 2017 09:08
blob
after this, need run anything?
blob
Basil
@nadar
Mar 20 2017 09:16
let me check this very quickly
what you did seems correct for me
just a sec i will setup local and report
josephng
@josephng
Mar 20 2017 09:17
Thank you.
Hello~
I solve it already. I install the RC2 at the dict (Public_HTML)
but i change it to Kickstarter
and its work
seed4956
@seed4956
Mar 20 2017 09:19
thanks for advise! completed installation
Basil
@nadar
Mar 20 2017 09:20
ok great :+1:
josephng
@josephng
Mar 20 2017 09:37
@nadar hi
here I have another problem
views/news/default/index.php
this file, could not find in my directory
Basil
@nadar
Mar 20 2017 09:38
you have to create it - so you can define y our own styles
josephng
@josephng
Mar 20 2017 09:39
blob
its show all the text :worried:
i want to do like your video that one
:smile:
Basil
@nadar
Mar 20 2017 09:40
Ok :-)
josephng
@josephng
Mar 20 2017 09:40
can you share me yours code?
Basil
@nadar
Mar 20 2017 09:41
sure!
josephng
@josephng
Mar 20 2017 09:41
here? or i need to send you my email ?
Basil
@nadar
Mar 20 2017 09:41
i'll send your the link here
josephng
@josephng
Mar 20 2017 09:41
Okay
josephng
@josephng
Mar 20 2017 09:51
blob
Basil
@nadar
Mar 20 2017 09:51
remove the use Yii
its not tested, it was just basic dump output
josephng
@josephng
Mar 20 2017 09:51
blob
Basil
@nadar
Mar 20 2017 09:52
use: text
josephng
@josephng
Mar 20 2017 09:52
where?
Basil
@nadar
Mar 20 2017 09:53
<?= $item->text; ?>
josephng
@josephng
Mar 20 2017 09:53
Okay
WOW!
seed4956
@seed4956
Mar 20 2017 09:53
amazing
josephng
@josephng
Mar 20 2017 09:54
marvelous!
actually we two are using your product ! Goodluck in the future, we will continue support you :D
seed4956
@seed4956
Mar 20 2017 09:55
we two are the first testers in company :smile:
Basil
@nadar
Mar 20 2017 09:55
first stable release is soon, no more problems with version in composer and outdate docs. Follow us in order to get updates: https://twitter.com/luyadev
seed4956
@seed4956
Mar 20 2017 09:56
thats great!
the process of current installation is very complex
Basil
@nadar
Mar 20 2017 09:58
agree, but its important what composer and config files does. After understanding this concept it will help you in future (also for other yii2 projects)
working with code, working with modules, understanding import etc., working with view files. its not a wordpress to install on a host with a single klick - its for developers. its made for composer, its made for git, its made for multi environments setup (staging, locale, prod, etc), its made for agencies and companys
josephng
@josephng
Mar 20 2017 10:04
Its good CMS system, hope all the bug can be found early before the stable version release :D
See you tomorrow ;)
thanks for the sharing and teaching.
Basil
@nadar
Mar 20 2017 10:06
you're welcome
seed4956
@seed4956
Mar 20 2017 10:08
thanks for guiding! thanks you