sklassen opened a new pull request #3335:
URL: https://github.com/apache/couchdb/pull/3335


   
   Add an :- to allow exported override of Fauxton Doc Root.
   
   ## Overview
   
   This addresses the problem from #3333 and relative doc root paths. 
   
   ## Testing recommendations
   
   I ran couchdb with and exported DOCROOT
   
   ```
   simon@sigyn:couchdb$ export 
COUCHDB_FAUXTON_DOCROOT=/home/simon/src/github.com/apache/couchdb/share/www/
   simon@sigyn:couchdb$ ./dev/run -n 1
   ```
   
   ```
   Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] 
[async-threads:1] [hipe]
   
   Eshell V10.6.4  (abort with ^G)
   ([email protected])1> pwd().
   /home/simon/src/github.com/apache/couchdb
   ok
   ([email protected])2> cd("/tmp").
   /tmp
   ok
   ```
   
   And then navigated to  http://127.0.0.1:15984/_utils/ successfully. 
   
   
   
   ## Checklist
   
   - [X] Code is written and works correctly
   - [X] Changes are covered by tests
   - [X] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [X] A PR for documentation changes has been made in 
https://github.com/apache/couchdb-documentation
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to