https://github.com/byceps/byceps
Tip revision: 2f307b8cbe1b3b51b8d28fe40a3aafd8e178b0af authored by Jochen Kupperschmidt on 16 February 2026, 03:05:23 UTC
Adjust test to new `hidden` argument to `page_service.update_page`
Adjust test to new `hidden` argument to `page_service.update_page`
Tip revision: 2f307b8
populate-database.rst
Populate Database
=================
Initialize the database (:ref:`details <Initialize Database>`) specified
in the configuration file:
.. code-block:: console
$ uv run byceps initialize-database
Expected output:
.. code-block:: none
Creating database tables ... done.
Importing roles ... done. Imported 35 roles, skipped 0 roles.
Adding language "en" ... done.
Adding language "de" ... done.
With the tables and the authorization data in place, create the initial
user (which will get all available roles assigned):
.. code-block:: console
$ uv run byceps create-superuser
Enter user account details interactively:
.. code-block:: none
Screen name: Flynn
Email address: flynn@flynns-arcade.net
Password: hunter2
Expected output:
.. code-block:: none
Creating user "Flynn" ... done.
Enabling user "Flynn" ... done.
Assigning 35 roles to user "Flynn" ... done.
Those roles allow the user to log in to the admin backend and to access
all administrative functionality.
