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
|
mariadb -u forgejo -p forgejodb
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Forgejo
|
Forgejo
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
@ -216,6 +215,10 @@ Set up Apache to be a reverse proxy for Forgejo.
|
||||||
|
|
||||||
sudo a2enmod proxy proxy_http
|
sudo a2enmod proxy proxy_http
|
||||||
sudo vim /etc/apache2/sites-available/code-libre-is.conf
|
sudo vim /etc/apache2/sites-available/code-libre-is.conf
|
||||||
|
|
||||||
|
|
||||||
|
.. code-block:: apache
|
||||||
|
|
||||||
<VirtualHost 70.39.110.155:80>
|
<VirtualHost 70.39.110.155:80>
|
||||||
ServerName code.libre.is
|
ServerName code.libre.is
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
|
@ -304,7 +307,7 @@ Configure Forgejo thusly:
|
||||||
|
|
||||||
In the very top section, add:
|
In the very top section, add:
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: ini
|
||||||
|
|
||||||
APP_NAME = Libre Code
|
APP_NAME = Libre Code
|
||||||
APP_SLOGAN = Code free or die
|
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 way admin and Forgejo key/ports/etc are separate.
|
||||||
This requires forwarding port 2222 to port 22 in the firewall.
|
This requires forwarding port 2222 to port 22 in the firewall.
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: ini
|
||||||
|
|
||||||
HTTP_ADDR = 127.0.0.1
|
HTTP_ADDR = 127.0.0.1
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
|
@ -325,14 +328,14 @@ This requires forwarding port 2222 to port 22 in the firewall.
|
||||||
|
|
||||||
Under [service] change this to true:
|
Under [service] change this to true:
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: ini
|
||||||
|
|
||||||
DISABLE_REGISTRATION = true
|
DISABLE_REGISTRATION = true
|
||||||
|
|
||||||
|
|
||||||
Add sections:
|
Add sections:
|
||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: ini
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
SHOW_USER_EMAIL = false
|
SHOW_USER_EMAIL = false
|
||||||
|
|
|
@ -62,8 +62,8 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:62
|
#: ../../../_source/dev-libre-is.rst:62
|
||||||
msgid ""
|
msgid ""
|
||||||
"At the bottom is a mini-HOWTO to build the site now that the repo already"
|
"At the bottom is a mini-HOWTO to build the site now that the repo already "
|
||||||
" exists."
|
"exists."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:75
|
#: ../../../_source/dev-libre-is.rst:75
|
||||||
|
@ -80,8 +80,8 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:298
|
#: ../../../_source/dev-libre-is.rst:298
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copy over an appropriate license file to the repo, such as `LICENSE-"
|
"Copy over an appropriate license file to the repo, such as `LICENSE-apache."
|
||||||
"apache.txt`."
|
"txt`."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:302
|
#: ../../../_source/dev-libre-is.rst:302
|
||||||
|
@ -134,8 +134,8 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:508
|
#: ../../../_source/dev-libre-is.rst:508
|
||||||
msgid ""
|
msgid ""
|
||||||
"If spreadsheet is going to be used/imported, add to here "
|
"If spreadsheet is going to be used/imported, add to here `docs/_source/"
|
||||||
"`docs/_source/_static/` these files:"
|
"_static/` these files:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/dev-libre-is.rst:510
|
#: ../../../_source/dev-libre-is.rst:510
|
||||||
|
@ -149,22 +149,3 @@ msgstr ""
|
||||||
#: ../../../_source/dev-libre-is.rst:525
|
#: ../../../_source/dev-libre-is.rst:525
|
||||||
msgid "HOWTO build this site."
|
msgid "HOWTO build this site."
|
||||||
msgstr ""
|
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