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 |