Skip to content

Commit

Permalink
Remove “Database setup” from getting started docs
Browse files Browse the repository at this point in the history
And add more info about KOLIBRI_HOME
  • Loading branch information
jonboiser committed Apr 1, 2021
1 parent 2135cf9 commit 23cbb34
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ There are two environment variables you should plan to set:

This variable determines where Kolibri will store its content and databases. It is useful to set if you want to have multiple versions of Kolibri running simultaneously.

.. note::
If ``KOLIBRI_HOME`` is not set, Kolibri will use ``~/.kolibri`` (on MacOS or Linux) or ``C:\.kolibri`` (on Windows) by default



Install Python dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -175,16 +179,6 @@ Running the Kolibri server

.. _devserver:

Database setup
~~~~~~~~~~~~~~

To initialize the database run the following command:

.. code-block:: bash
kolibri manage migrate
Development server
~~~~~~~~~~~~~~~~~~

Expand All @@ -194,7 +188,9 @@ To start up the development server and build the client-side dependencies, use t
yarn run devserver
This will take some time to build the front-end assets, after which you should be able to access the server at ``http://127.0.0.1:8000/``.
When you run this command for the first time, a new folder will be created at the ``KOLIBRI_HOME`` (or the default) path. Inside, a new sqlite database will be created for you and all current database migrations applied on it.

It may take some time to build the front-end assets, after which you should be able to access the server at ``http://127.0.0.1:8000/``.

Alternatively, you can run the devserver with `hot reload <https://vue-loader.vuejs.org/guide/hot-reload.html>`__ enabled using:

Expand Down

0 comments on commit 23cbb34

Please sign in to comment.