TheCubicWebBook #870146 developing cubes with a system install [open]

I install cubicweb on my system with several cubes, then create this tree:

cwenv/
    setenv.sh
    cubes/
       mycube/

with setenv.sh that contains:

export CW_MODE=user
export CW_CUBES_PATH=~/cwenv/cubes
export CW_INSTANCES_DIR=~/etc/cubicweb.d/
export CW_INSTANCES_DATA_DIR=$CW_INSTANCES_DIR
export CW_RUNTIME_DIR=/tmp

then I source setenv.sh with:

$ source setenv.sh

and can run cubicweb-ctl list to check that both installed cubes and cwenv/cubes are listed.

With this setup, I can develop new cubes and make sure that they work with the packaged version of cubicweb and the packaged version of other cubes.

prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>