mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a section on managing user accounts from the command line to the manual
This commit is contained in:
parent
9d454badb5
commit
20442f39a9
@ -207,6 +207,29 @@ If you are using a particular old or limited browser or you don't like to run
|
|||||||
JavaScript, you can use the *mobile* view, by simply adding ``/mobile`` to the
|
JavaScript, you can use the *mobile* view, by simply adding ``/mobile`` to the
|
||||||
the server address.
|
the server address.
|
||||||
|
|
||||||
|
Managing user accounts from the command-line only
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
The calibre program has a nice section in :guilabel:`Preferences` to allow you
|
||||||
|
to manage user accounts for the server. However, if you want to run the
|
||||||
|
standalone server and cannot run the main calibre program on the same
|
||||||
|
computer/user account, you can also manage users using just the command-line.
|
||||||
|
|
||||||
|
You can manage user accounts using the ``--manage-users`` option
|
||||||
|
to the standalone ``calibre-server`` program. Suppose you want to store
|
||||||
|
the user database in the directory ``/srv/calibre``, then you create it
|
||||||
|
by running::
|
||||||
|
|
||||||
|
calibre-server --userdb /srv/calibre/users.sqlite --manage-users
|
||||||
|
|
||||||
|
Just follow the prompts to create user accounts, set their permission, etc.
|
||||||
|
Once you are done, you can run the server as::
|
||||||
|
|
||||||
|
calibre-server --userdb /srv/calibre/users.sqlite --enable-auth
|
||||||
|
|
||||||
|
It will use the user accounts you created in the previous step.
|
||||||
|
|
||||||
|
|
||||||
Integrating the calibre Content server into other servers
|
Integrating the calibre Content server into other servers
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user