<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body style="font-family: DIN-Regular;" bgcolor="#FFFFFF" 
text="#000000"><div style="font-family: DIN-Regular;">Warren,<br><br>>>
 I read that I must create a .dancer file in the etc dir:<br>> Read 
where?  <br><br>an email from Russell: 
<a class="moz-txt-link-freetext" href="http://lists.preshweb.co.uk/pipermail/dancer-users/2015-December/005370.html">http://lists.preshweb.co.uk/pipermail/dancer-users/2015-December/005370.html</a><br><br>But
 I don't unterstand.<br><br>> It is inside a loop that works by 
walking up the directory hierarchy, not down.  That is, the .dancer 
trick would only work for a case like:<br>><br>>     project<br>>        
 subdir/.dancer<br>>            subsubdir<br>><br>> …when you 
start your app from subsubdir, and it fails to find ‘bin’ or ‘lib’ in 
that directory.  It goes up one level, finds the .dancer file, and 
assumes that is the root of the project, as far as Dancer is concerned. 
 Your scheme doesn’t work because it is *below* the current working 
directory you run plackup within, not above it.<br><br>In my Dancer1 
source I have following lines:<br><br><span style="font-family: 
monospace;">set confdir          => "/opt/test/fsi/etc";</span><br 
style="font-family: monospace;"><span style="font-family: monospace;">set
 envdir           => "/opt/test/fsi/etc";</span><br 
style="font-family: monospace;"><span style="font-family: monospace;">set
 environment      => 'development';</span><br style="font-family: 
monospace;"><br>I start searching in the Dancer2 source and found 
config_location and environments_location ... so I try:<br><br><span 
style="font-family: monospace;">set config_location        => 
'/opt/test/fsi/etc';</span><br style="font-family: monospace;"><span 
style="font-family: monospace;">set environments_location  => '</span><span
 style="font-family: monospace;">/opt/test/fsi</span><span 
style="font-family: monospace;">/etc';</span><br style="font-family: 
monospace;"><span style="font-family: monospace;">set environment      
      => 'development';</span><br style="font-family: monospace;"><br>But
 I think I misunterstood this, because it doesn´t work. <br><br>I just 
want to move my config.yml in the sub dir /etc.<br><br>Regards<br>    
Jochen<br></div></body></html>