You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/01/18 14:18:07 UTC

[GitHub] [couchdb] sklassen opened a new pull request #3335: Added override for COUCHDB_FAUXTON_DOCROOT

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)
   (node1@127.0.0.1)1> pwd().
   /home/simon/src/github.com/apache/couchdb
   ok
   (node1@127.0.0.1)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:
users@infra.apache.org



[GitHub] [couchdb] janl merged pull request #3335: Added override for COUCHDB_FAUXTON_DOCROOT

Posted by GitBox <gi...@apache.org>.
janl merged pull request #3335:
URL: https://github.com/apache/couchdb/pull/3335


   


----------------------------------------------------------------
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:
users@infra.apache.org