Skip to content

Commit 951a513

Browse files
authored
removed --init (Open-MSS#2968)
1 parent 71950a3 commit 951a513

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/conf_sso_test_msscolab.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ When this is the first time you setup a mscolab server, you have to initialize t
103103

104104
.. code:: text
105105
106-
$ mscolab db --init
106+
$ mscolab start
107107
108108
.. note::
109109
An existing database maybe needs a migration, have a look for this on our documentation.

docs/development.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ You can view the default configuration of MSColab in the file `mslib/mscolab/con
171171
If you want to change any values of the configuration, please take a look at the "Configuring Your MSColab Server"
172172
section in :ref:`mscolab`
173173

174-
When using for the first time you need to initialise your database. Use the command :code:`mscolab db --init`
174+
When using for the first time you need to initialise your database. Use the command :code:`mscolab start`
175175
to initialise it. The default database is a sqlite3 database.
176-
You can add some dummy data to your database by using the command :code:`mscolab db --seed`.
177-
The content of the dummy data can be found in the file `mslib/mscolab/seed.py`.
176+
If you want to play around with example data, you can import it using `mscolab db --seed`.
177+
The content of the example data can be found in the file `mslib/mscolab/seed.py`.
178178

179179
To start your server use the command :code:`mscolab start`. This would start the MSColab server on port 8083.
180180
Going to http://localhost:8083/status should now show "MSColab server". This means your server has started successfully.

docs/mscolab.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Make a copy of the above file, rename it to mscolab_auth.py, make the necessary
3030
Steps to Run MSColab Server
3131
---------------------------
3232
- The MSColab server comes included in the MSS python package.
33-
- Once MSS is installed, if you're running the mscolab server for the first time, run the command :code:`mscolab db --init` to initialise your database.
33+
- When you run the MSColab server for the first time after installing MSS, the database is initialized.
3434
- To start the server run :code:`mscolab start`.
3535
- If you ever want to reset or add dummy data to your database you can use the commands :code:`mscolab db --reset` and :code:`mscolab db --seed` respectively.
3636

0 commit comments

Comments
 (0)