You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/07/08 00:52:44 UTC

[GitHub] seantanly commented on issue #19: Upgrading Fauxton within 2.0.0 image

seantanly commented on issue #19: Upgrading Fauxton within 2.0.0 image
URL: https://github.com/apache/couchdb-docker/issues/19#issuecomment-313823027
 
 
   @garrensmith Thank you for the pointer, I opted to upgrade the prepackaged Fauxton within the image instead of running a separate Fauxton container. 
   
   I managed to do so by commenting out the purging of build deps & node_modules folder, and added `git` in `apt-get install` for `npm install -g fauxton` to work. Then I proceeded to replace the prepackaged Fauxton by doing
   
   ```
   rm -rf /opt/couchdb/share/www
   cp -Rp /usr/lib/node_modules/fauxton/dist/release /opt/couchdb/share/www
   ```
   
   This way, I can still access Fauxton using the original `/_utils` path without further configuration. The drawbacks is the image is much larger compared to the original because the build deps are kept around to allow upgrading of Fauxton when needed.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services