[Cubicweb] Adding new cubes to the distribution

Fletcher, John P j.p.fletcher at aston.ac.uk
Mon Dec 6 13:08:08 CET 2010


Thank you very much.  I think at some point I had not set the CW_MODE correctly and therefore the create command would not work without sudo.  I used sudo because it worked and created an instance under control of root.  I am learning the system at the moment so I have put up with that, but now want to be able to move over to the user mode.

I am very excited by what I see in cubic web.  I installed the intranet cube as I saw it had a lot of cubes all working together and I need some examples.  I began to see how tags can help the system make suggestions.  I am wanting to build intelligent systems which can use semantic web cabability in a way which I have only seen talked about up to now.

Thanks again - I will keep the questions coming.


From: cubicweb-bounces at lists.cubicweb.org [cubicweb-bounces at lists.cubicweb.org] On Behalf Of Nicolas Chauvat [nicolas.chauvat at logilab.fr]
Sent: 06 December 2010 10:56
To: Fletcher, John P
Cc: cubicweb at lists.cubicweb.org
Subject: Re: [Cubicweb] Adding new cubes to the distribution

On Mon, Dec 06, 2010 at 10:17:04AM +0000, Fletcher, John P wrote:

> It is all part of the learning curve, where I am working towards
> being able to create my own cubes, but I want to do that in user mode,
> not editing in /etc/share/cubicweb/cubes.

Then 'sudo cubicweb-ctl create intranet myintranet' is not what you
are looking for, since it means executing cubicweb-ctl in system mode
(aka as root) and using the cubes from /usr/share/ and putting config
files in /etc/cubicweb.d/.

For development, you want to use CW_MODE=user as detailed by

BTW, the default is all-in-one, so you may want not to lose time
typing it when creating a new instance.

Please keep asking questions, we are always happy to help out new

Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances
Cubicweb mailing list
Cubicweb at lists.cubicweb.org

More information about the Cubicweb mailing list