src/source/quickstart.rst
branchdev-dc
changeset 34 f234f01d54f9
parent 28 a7332a53e6dc
child 36 55a05201f18c
equal deleted inserted replaced
33:eeef4052fcd1 34:f234f01d54f9
   241 .. tip::
   241 .. tip::
   242 
   242 
   243     See :ref:`appinstall` to get more detailed information about installation process.
   243     See :ref:`appinstall` to get more detailed information about installation process.
   244 
   244 
   245 
   245 
   246 3. Start application
   246 After *buildout*, just check INI files in *etc* directory (see :ref:`config`)
   247 +++++++++++++++++
   247 
   248 
   248 
   249 Application is ready to run! Just check INI files in *etc* directory (see :ref:`config`) and start the application:
   249 3. Initializing the database
   250 
   250 ++++++++++++++++++++++++++++
   251 .. code-block:: bash
   251 
   252 
   252 You have to initialize the database to populate **PyAMS** objects into database. From a shell:
   253     (env)$ ./bin/pyams_upgrade etc/development.ini
   253 
       
   254 .. code-block:: bash
       
   255 
       
   256     (env) $ ./bin/pyams_upgrade etc/development.ini
       
   257 
       
   258 
       
   259 4. Start application
       
   260 ++++++++++++++++++++
       
   261 
       
   262 Application is ready to run! Start the application:
       
   263 
       
   264 .. code-block:: bash
   254 
   265 
   255     (env)$ ./bin/pserve etc/development.ini
   266     (env)$ ./bin/pserve etc/development.ini
   256     ...
   267     ...
   257     Starting server in PID 29335.
   268     Starting server in PID 29335.
   258     Serving on http://0.0.0.0:6543
   269     Serving on http://0.0.0.0:6543