enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
202 stars 34 forks source link

Enonic CLI - Sandboxes #6730

Closed GlennRicaud closed 6 years ago

GlennRicaud commented 6 years ago

Today we have 2 concepts:

You can see the distribution as something immutable, a binary. While the home is the real state of server. You switch home, you switch "server" in a way.

The problem with setting "XP_HOME", is that you need to keep track of this mapping: Distribution version <-> Home. You do not want to start a home with an incorrect version of XP. You could in theory corrupt your data.

With the CLI, we will have instead the concept of

So from the CLI interface, you do not start a distribution. You start a sandbox. This will start the distribution mentionned in its ".enonic" file and the distribution will use the sandbox as a home.

File structure

CLI options

pmi commented 6 years ago

Issue moved to enonic/xp-cli #30 via ZenHub