Jason Cooper <[email protected]> writes:

> Hi,
>   Have you tried setting the `MOJO_CONFIG` environment variable to the name 
> of an alternative config file? Other useful environment variables for 
> Mojolicious are listed on the wiki - 
> https://github.com/mojolicious/mojo/wiki/%25ENV
>
> Regards,
>   Jason.
>
> On Sunday, 16 September 2018 18:48:37 UTC+1, cam wrote:
>>
>>
>> I have a Mojo server-side app and would like to automate an integration 
>> test with the corresponding client (which is not in Perl). The data 
>> source for the app is specificied on the 'my_app.conf' file and uses the 
>> regular config plugin. Is there a standard way of overriding 
>> configuration settings (or specifying and alternate config file) from 
>> the command line so that I can programmatically open a local server 
>> populated with test data and isolated from other prod/testing data? 
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.


I'll try that. Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to