[FLOW3-general] Changing Contexts in Neo

Carsten Bleicker carsten at bleicker.de
Tue Oct 9 21:47:21 CEST 2012


didnt figure out neos right now. just have used flow3 right now but maybe it helps?

i have simply two vhost
one with production one with development

production gets 
ServerName bleicker.local

development gets
ServerName dev.bleicker.local


if you make a switch from dev to production, maybe need a cache clearing?
and also a doctrine:migrate to use the production database?

so in flow the cli needs the env vars too:
FLOW3_CONTEXT=Production ./flow3 flow3:cache:flush
FLOW3_CONTEXT=Production ./flow3 doctrine:migrate

hope it helps

kind regards
carsten



Am 09.10.2012 um 21:29 schrieb Olivier Dobberkau:

> Am 09.10.12 20:58, schrieb Carsten Bleicker:
> 
>> works for me:
>> <VirtualHost *:80>
>> 
>>        ...
>> 
>>        php_value date.timezone "Europe/Berlin"
>> 
>>        SetEnv FLOW3_CONTEXT Development
>> 
>> 
>> maybe its SetEnv instead of Setenv?
> 
> Let me rephrase.
> 
> I want to switch to Production Mode after that Neos was setup in
> Development mode.
> 
> Olivier
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list