doc/book/en/tutorials/advanced/index.rst
branchstable
changeset 5350 49c065ae225e
parent 5259 61505346e28f
child 5432 ee246e1813c6
equal deleted inserted replaced
5349:023dbeb84cc2 5350:49c065ae225e
    33   CW_MODE=user
    33   CW_MODE=user
    34 
    34 
    35 I can now create the cube which will hold custom code for this web
    35 I can now create the cube which will hold custom code for this web
    36 site using::
    36 site using::
    37 
    37 
    38   c-c newcube --directory=~/src/cubes sytweb
    38   cubicweb-ctl newcube --directory=~/src/cubes sytweb
    39 
    39 
    40 
    40 
    41 .. _adv_tuto_assemble_cubes:
    41 .. _adv_tuto_assemble_cubes:
    42 
    42 
    43 Step 2: pick building blocks into existing cubes
    43 Step 2: pick building blocks into existing cubes
   139 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   139 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   140 
   140 
   141 Now that I've a schema, I want to create an instance so I can start To
   141 Now that I've a schema, I want to create an instance so I can start To
   142 create an instance using this new 'sytweb' cube, I run::
   142 create an instance using this new 'sytweb' cube, I run::
   143 
   143 
   144   c-c create sytweb sytweb_instance
   144   cubicweb-ctl create sytweb sytweb_instance
   145 
   145 
   146 hint : if you get an error while the database is initialized, you can
   146 hint : if you get an error while the database is initialized, you can
   147 avoid having to reanswer to questions by runing ::
   147 avoid having to reanswer to questions by runing ::
   148 
   148 
   149    c-c db-create sytweb_instance
   149    cubicweb-ctl db-create sytweb_instance
   150 
   150 
   151 This will use your already configured instance and start directly from the create
   151 This will use your already configured instance and start directly from the create
   152 database step, thus skipping questions asked by the 'create' command.
   152 database step, thus skipping questions asked by the 'create' command.
   153 
   153 
   154 Once the instance and database are fully initialized, run ::
   154 Once the instance and database are fully initialized, run ::
   155 
   155 
   156   c-c start sytweb_instance
   156   cubicweb-ctl start sytweb_instance
   157 
   157 
   158 to start the instance, check you can connect on it, etc...
   158 to start the instance, check you can connect on it, etc...
   159 
   159 
   160 
   160 
   161 Security, testing and migration
   161 Security, testing and migration