1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge back more info about admin accounts, MySQL/PG

Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
This commit is contained in:
Aidan Fitzgerald 2019-03-31 15:37:43 -04:00
parent 41aa36526d
commit d491adb0fa

View file

@ -23,7 +23,8 @@ to match the name of your organization.
After finishing the setup process, you will be directed to a page where you can
create a user account. The first account created after setting up Gitea will be
an admin account.
an admin account. You can also create an admin account from the setup page
under "Administrator Account Settings."
Configuration
-------------
@ -36,6 +37,10 @@ lines to the ``[Unit]`` section of ``/etc/systemd/system/gitea.service`` [2]:
* MySQL: ``After=mysqld.service``
* PostgreSQL: ``After=postgresql.service``
For MySQL and PostgreSQL, you need to specify the server address, the database
name, and the user credentials that Gitea will use to access the database.
**Make sure the user exists on the database server first.**
[1] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/app.ini.j2``
[2] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/gitea.service.j2``