src/source/quickstart.rst
changeset 46 5fe8d5ffccde
parent 36 55a05201f18c
child 51 5ebe61e3a965
equal deleted inserted replaced
28:a7332a53e6dc 46:5fe8d5ffccde
   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. Starting 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
   270     - Login: admin
   281     - Login: admin
   271 
   282 
   272     - Password: admin
   283     - Password: admin
   273 
   284 
   274     **You must change it as soon as possible!**
   285     **You must change it as soon as possible!**
   275 
   286     (see :ref:`pyams_security`)!!.