diff --git a/source/import_documentation/install-sib-server.rst b/source/import_documentation/install-sib-server.rst index 3bfd0400087bccd272e2c3c3515de7464a1d7803..e0d33ac9fde0d8fbc9b79634b692610936a546f7 100644 --- a/source/import_documentation/install-sib-server.rst +++ b/source/import_documentation/install-sib-server.rst @@ -121,16 +121,21 @@ This configuration works for a local development server but for a production ins jabber_host: 'happy-dev.fr' -Launch the installation -======================== - -Install/update the project: +Make your migration +=================== .. code-block:: bash - sib install sibserver + python manage.py migrate + +Create your super user +=================== + +.. code-block:: bash + python manage.py createsuperuser +Follow the instructions you get in your terminal. Launch the server ================== @@ -143,10 +148,21 @@ Run the server in development: Then go to `http://127.0.0.1:8000/admin/ <http://127.0.0.1:8000/admin/>`__ to acces to your Django administration. -Jump to the `How to develop SIB server packages <https://docs.startinblox.com/import_documentation/develop-sib-ldp-packages.html>`__ section to create your first package. +Enter the identifier you've just created and you shoud see the Django admin. +.. warning:: + In some case, you could get this kind of error : `no such table: djangoldp_xyz_abc`. Enter this command to solve it : `python3 manage.py migrate --run-syncdb` +To update the installation +======================== + +Install/update the project: + +.. code-block:: bash + + sib install sibserver + To launch the server in production: ------------------------------------