Git Product home page Git Product logo

Comments (3)

jhs avatar jhs commented on September 24, 2024

You're welcome! One minor quibble: software often does not work; but really, charms never do.

If your build process is reliable and reproducible (I often clean everything out and rebuild from scratch--it takes longer but it is pretty dependable), then you can simply rebuild with a different install location.

You can actually move the entire installation reasonably reliably. The only code software I know of which does this is the Couchbase Single Server post-install script. I do not think it is open source; however it is publicly-distributed and you can see what it does. Basically that script (which I originally wrote) has a list of all files you need to search-and-replace to get the paths working.

from build-couchdb.

Stwissel avatar Stwissel commented on September 24, 2024

Thx. I'll have a look. What I actually have in mind: When the OSGi starts up it checks "where am I", do I have a base location set (if not use the "where am I"), load all the scripts/ini from inside the JAR which have {{moustache}} place holders, write them out where the CouchDB stuff is and then launch CouchDB. This way the install survives moving of nodes and data (Something not uncommon in JEE land). And it allows configuration without editing files manually (important when deploying into desktop environments). I'll have a look. Now I need to find a windows guy :-)

from build-couchdb.

jhs avatar jhs commented on September 24, 2024

Yes, all of that definitely works. Let me know if you have any issues or other questions.

from build-couchdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.