[IMP] Website Themes - Setup

- Use the right code-block language for terminal command line
- Add a step about the 2-factor authentication
This commit is contained in:
Brandon Mercier 2025-02-24 11:33:40 +01:00
parent 0287a4b629
commit dd1921204b

View File

@ -155,24 +155,31 @@ Database setup
Create an empty database.
.. code-block:: xml
.. code-block:: bash
createdb <database_name>
Import the SQL file in the database that you just created.
.. code-block:: xml
.. code-block:: bash
psql <database_name> < dump.sql
Reset the admin user password.
.. code-block:: xml
.. code-block:: bash
psql \c
<database_name>
update res_users set login='admin', password='admin' where id=2;
If necessary, disable the two-factor authentication enforcing policy option.
.. code-block:: bash
psql <database-name>
update res_users set top_secret='' where id=2;
Getting started
===============