formatting code.libre.is sections
This commit is contained in:
parent
4b276161dd
commit
1ddedddeee
|
@ -145,7 +145,6 @@ Test the new database setup thusly:
|
|||
mariadb -u forgejo -p forgejodb
|
||||
|
||||
|
||||
|
||||
Forgejo
|
||||
=======
|
||||
|
||||
|
@ -216,6 +215,10 @@ Set up Apache to be a reverse proxy for Forgejo.
|
|||
|
||||
sudo a2enmod proxy proxy_http
|
||||
sudo vim /etc/apache2/sites-available/code-libre-is.conf
|
||||
|
||||
|
||||
.. code-block:: apache
|
||||
|
||||
<VirtualHost 70.39.110.155:80>
|
||||
ServerName code.libre.is
|
||||
ServerAdmin webmaster@localhost
|
||||
|
@ -304,7 +307,7 @@ Configure Forgejo thusly:
|
|||
|
||||
In the very top section, add:
|
||||
|
||||
.. code-block:: sh
|
||||
.. code-block:: ini
|
||||
|
||||
APP_NAME = Libre Code
|
||||
APP_SLOGAN = Code free or die
|
||||
|
@ -315,7 +318,7 @@ Also set the SSH to use a different than the main openssh server.
|
|||
This way admin and Forgejo key/ports/etc are separate.
|
||||
This requires forwarding port 2222 to port 22 in the firewall.
|
||||
|
||||
.. code-block:: sh
|
||||
.. code-block:: ini
|
||||
|
||||
HTTP_ADDR = 127.0.0.1
|
||||
SSH_PORT = 22
|
||||
|
@ -325,14 +328,14 @@ This requires forwarding port 2222 to port 22 in the firewall.
|
|||
|
||||
Under [service] change this to true:
|
||||
|
||||
.. code-block:: sh
|
||||
.. code-block:: ini
|
||||
|
||||
DISABLE_REGISTRATION = true
|
||||
|
||||
|
||||
Add sections:
|
||||
|
||||
.. code-block:: sh
|
||||
.. code-block:: ini
|
||||
|
||||
[ui]
|
||||
SHOW_USER_EMAIL = false
|
||||
|
|
|
@ -80,8 +80,8 @@ msgstr ""
|
|||
|
||||
#: ../../../_source/dev-libre-is.rst:298
|
||||
msgid ""
|
||||
"Copy over an appropriate license file to the repo, such as `LICENSE-"
|
||||
"apache.txt`."
|
||||
"Copy over an appropriate license file to the repo, such as `LICENSE-apache."
|
||||
"txt`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/dev-libre-is.rst:302
|
||||
|
@ -134,8 +134,8 @@ msgstr ""
|
|||
|
||||
#: ../../../_source/dev-libre-is.rst:508
|
||||
msgid ""
|
||||
"If spreadsheet is going to be used/imported, add to here "
|
||||
"`docs/_source/_static/` these files:"
|
||||
"If spreadsheet is going to be used/imported, add to here `docs/_source/"
|
||||
"_static/` these files:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/dev-libre-is.rst:510
|
||||
|
@ -149,22 +149,3 @@ msgstr ""
|
|||
#: ../../../_source/dev-libre-is.rst:525
|
||||
msgid "HOWTO build this site."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Makefile, etc."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Set up `docs/index.html`"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Set up docs/Makefile"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Create `docs/_source/index.rst`"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Create other `docs/_source/about.rst` or aother appropriate files."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Set up `docs/_source/conf.py`"
|
||||
#~ msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue