Preview: https://forgejo.codeberg.page/@pull_231/docs/v1.20/admin/installation/
Fixes: forgejo/forgejo#778
earl-warren/website:wip-install into main Preview: https://forgejo.codeberg.page/@pull_231/docs/v1.20/admin/installation/
Fixes: forgejo/forgejo#778
Preview ready: https://forgejo.codeberg.page/@pull_231/
ab5b12d47d
22bbf14d81
a3ad5df50d
7e60a379a1
@ -0,0 +151,4 @@
## Install Forgejo and git, create git user
> **NOTE:** this guide assumes that you'll host on the server with the domain git.example.com" at the beginning.
I think the "at the beginning" was a copy&paste fail ;)
It was.
@ -0,0 +156,4 @@
First, download the Forgejo binary for your CPU architecture and maybe verify the GPG signature,
as described on [the Forgejo download page](https://forgejo.org/download/).
Next, copy the downloaded Forgejo binary to `/usr/local/bin/` (renaming it to just "forgejo")
You should describe that # foo --bar means "run command 'foo --bar' as root (or with sudo)"
@ -0,0 +252,4 @@
on the dashboard (if you created an administrator account) or at the login/register screen, where you
can create an account to then get to the dashboard.
So far, so good, but we're not quite done yet - some manual configuration in the app.ini is needed!
"is needed" - well, in the general case, maybe not.
most of it is mostly relevant if you want to host big repos, esp. ones with LFS files - and the e-mail/sendmail part is only relevant if you have a working /usr/sbin/sendmail on your server (which I could assume in my blog post because I described setting up dma, but here it's possible that people just want to use SMTP directly)
I think it is fine and people will figure out for themselves if they want that or not. It is sensible in the context of Forgejo to keep that part because there is a focus on scaling.
ok
@ -0,0 +324,4 @@
- By default LFS files are stored in the filesystem, in `/var/lib/forgejo/data/lfs`.
In the `[lfs]` section you can change the `PATH = ...` line to store elsewhere, but you can also
configure Forgejo to store the files in an S3-like Object-Storage.
- Enable sending E-Mails with sendmail by changing the `[mailer]` section like this:
"If you want to use the systemwide sendmail, ..."
That was my preferred options on my first setup too.
By the way, as this is based on my (not yet properly published) blogpost that will be hosted at https://blog.gibson.sh : I am ok with these parts of my blogpost (and maybe also the one about nginx; if you find others relevant, feel free to ask) being used for the forgejo documentation under CC-BY-SA license.
@ -0,0 +225,4 @@
## Forgejos web-based configuration
You should now be able to access Forgejo in your local web browser, so open http://git.example.com/.
Missed this in my review: This might be a good place to mention that users could either configure an nginx reverse proxy that listens on port 80, or after the initial configuration change the port in the app.ini to 80
This doesn't have to be part of this PR of course, but you could add my nginx chapter to https://forgejo.org/docs/latest/admin/reverse-proxy/
And you could add "Git LFS docs" that contain my chapter on using S3-like minio object storage (and migrating from local storage to object storage and back)
And I guess some place (could be this installation manual, could be an extra page) could mention how to setup SSL/TLS for https support (maybe both with Forgejo directly, or when terminating the connection in nginx - in that case you could probably just link to nginx https documentation and otherwise only describe the Forgejo-specific parts, like probably setting ROOT_URL = https://git.example.com/
By the way, as this is based on my (not yet properly published) blogpost that will be hosted at https://blog.gibson.sh : I am ok with these parts of my blogpost (and maybe also the one about nginx; if you find others relevant, feel free to ask) being used for the forgejo documentation under CC-BY-SA license.
I changed the reference URL to be github.com/DanielGibson/DanielGibson.github.io@58362695f7/content/post/setup-vps-with-wireguard-and-forgejo.md
Thanks for allowing the re-use of part of the content.
This doesn't have to be part of this PR of course, but you could add my nginx chapter to https://forgejo.org/docs/latest/admin/reverse-proxy/
Added as a separate issue so it is not forgotten #232
And you could add "Git LFS docs" that contain my chapter on using S3-like minio object storage (and migrating from local storage to object storage and back)
And here #233
And I guess some place (could be this installation manual, could be an extra page) could mention how to setup SSL/TLS for https support (maybe both with Forgejo directly, or when terminating the connection in nginx - in that case you could probably just link to nginx https documentation and otherwise only describe the Forgejo-specific parts, like probably setting
ROOT_URL = https://git.example.com/
And here #234
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?