# |
Jul 21st 2017, 08:57 |
sonu_nk |
i am trying to update CakePHP v3.3.16 from lastest version. i also changed my "cakephp/cakephp": "~3.4", but still composer says You are already using composer version 1.4.2 (stable channel). |
# |
Jul 21st 2017, 08:46 |
maymeow |
@admad i heard this sometimes before |
# |
Jul 21st 2017, 08:45 |
admad |
@maymeow find a new boss :slightly_smiling_face: |
# |
Jul 21st 2017, 08:44 |
hmic |
docker is just fine |
# |
Jul 21st 2017, 08:44 |
maymeow |
@admad tell this to my boss :) |
# |
Jul 21st 2017, 08:44 |
neon1024 |
Heya @birdy247 :wave::skin-tone-2: |
# |
Jul 21st 2017, 08:43 |
maymeow |
@hmic ill try it :slightly_smiling_face: now im using docker for development |
# |
Jul 21st 2017, 08:43 |
admad |
containerize everything! |
# |
Jul 21st 2017, 08:43 |
hmic |
using virtualbox is way easier though and i dont see why you would not want to go with it at all, as it's work is done behind the scenes completely |
# |
Jul 21st 2017, 08:42 |
hmic |
maymeow: sure! just make vagrant use hyper-v instead of virtualbox |
# |
Jul 21st 2017, 08:42 |
hmic |
+1 for using cakebox, as it is a controlled and known environment, way more than the linux subsystem on windows |
# |
Jul 21st 2017, 08:42 |
maymeow |
@dereuromark it will run under Hyper-V? |
# |
Jul 21st 2017, 08:41 |
hmic |
still you need to enable the windows dev mode before you can install it - i think this is the problem. with this gone, any installer could just require it's dependency and install it right away... (like .net) |
# |
Jul 21st 2017, 08:41 |
dereuromark |
I would except the windows people to use the cakebox :slightly_smiling_face: That would also solve the issue, even a bit more clean. |
# |
Jul 21st 2017, 08:41 |
sonu_nk |
any help for my question ? |
# |
Jul 21st 2017, 08:40 |
admad |
hmic: who cares about the "beta" label if it does the job? :slightly_smiling_face: You are gonna use it for dev not prod |
# |
Jul 21st 2017, 08:40 |
maymeow |
because had problem with access to installed software in windows... like commandline for PHP... so i need install another one under subsystem.... better for me is install wirtual machine ;) |
# |
Jul 21st 2017, 08:39 |
birdy247 |
@admad I stand corrected. I had a typo |
# |
Jul 21st 2017, 08:39 |
hmic |
admad: it's still marked beta and you need to explicitely enable the dev option to be able to install it. or did this change lately? |
# |
Jul 21st 2017, 08:38 |
maymeow |
@admad im using bin\cake ;) |
# |
Jul 21st 2017, 08:38 |
admad |
why aren't windows users using the linux subsystem already? |
# |
Jul 21st 2017, 08:38 |
maymeow |
C:\ cd users/may returns path c:\users\may ... so it is rewrite / to \ ;) |
# |
Jul 21st 2017, 08:37 |
admad |
@maymeow in this particular case it's cause you need to use the .bat file on windoz |
# |
Jul 21st 2017, 08:37 |
admad |
it should |
# |
Jul 21st 2017, 08:37 |
sonu_nk |
if i want to generate a Website controller but use table = 'analytics_sites' then what to do in cake bake command ? |
# |
Jul 21st 2017, 08:37 |
birdy247 |
didnt work |
# |
Jul 21st 2017, 08:37 |
birdy247 |
$this->layout = "some-layout" |
# |
Jul 21st 2017, 08:37 |
maymeow |
@hmic ok but bin/cake not working for me too |
# |
Jul 21st 2017, 08:36 |
admad |
@birdy247 did you try setting layout from a template? |
# |
Jul 21st 2017, 08:36 |
birdy247 |
or only extend other templates? |
# |
Jul 21st 2017, 08:36 |
birdy247 |
Is it possible to set a layout from a template file |
# |
Jul 21st 2017, 08:34 |
birdy247 |
Ill take a look |
# |
Jul 21st 2017, 08:34 |
birdy247 |
I saw you messaged me yday |
# |
Jul 21st 2017, 08:34 |
birdy247 |
Hey @neon1024 |
# |
Jul 21st 2017, 08:33 |
hmic |
maymeow: windows does take / as dir separator for ages too! |
# |
Jul 21st 2017, 08:28 |
maymeow |
for windows is bin\cake for linux bin/cake |
# |
Jul 21st 2017, 08:27 |
neon1024 |
Morning all |
# |
Jul 21st 2017, 08:24 |
prophet |
bin\cake ? |
# |
Jul 21st 2017, 08:22 |
sonu_nk |
?? |
# |
Jul 21st 2017, 08:22 |
sonu_nk |
$ bin/cake --> No command 'bin' found, did you mean: |
# |
Jul 21st 2017, 08:18 |
prophet |
I am using '->requirePresence('img', 'create')' as a validator rule. I expect that the presence is only required if a new record is added, but if i edit a record the img-field should not be required. But the required attribute of the input is set... So I guess I am misinterepreting the validation rule?! |