Commit Graph

52 Commits (cf33a18a5c1cfc0a9995da48af61aefc7f2d2ac3)

Author SHA1 Message Date
zeripath 82a979707a
Update documentation for the go module era ()
* Update documentation for the go module era

use go env instead of $GOPATH

Update instructions to just use git clone

Slight update to readme

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fixup

* Apply suggestions from code review

Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>
Co-Authored-By: Bagas Sanjaya <bagasdotme@gmail.com>

* Apply suggestions from code review

* Fix GOPATH settings

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Bagas Sanjaya <bagasdotme@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Bagas Sanjaya b822518e39 [Docs] Linux Service Edit ()
* Rename h3 title

* Add intro

Should work on Ubuntu Xenial, but should work on any Linux distros.

* Indirect edit files

Instead of providing `sudo vim`, invite to edit files.

* enable now instead of enable and start

* Re-add systemctl enable && systemctl start

* Revert service enablement back to status quo

* Add enable now counterpart for systemd > v220

* Apply suggestions from @sapk

Strip `vim` from editor usage

Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Matthew Bramer 39db99a595 Supports both CMD and PowerShell ()
sc is aliased to Set-Content in PowerShell and these commands will not work without the `.exe` extension.
silverwind 3f42934b9a Remove explicit 'generate' calls, fix release task ()
* Remove more explicit 'generate' calls

`generate` is now implicit during `build` since , it is no longer
necessary or desired to specify it explicitely.

* add js,css,generate dependencies to release task

* remove generate warning as per @lunny
Lunny Xiao 48be1889cd Fix latest docker image haven't include static files. ()
* add warnging on docs

* fix docs
silverwind d9c67a8c90 Add Node.js build dep, remove built js/css files ()
- Added Node.js as build dependency and removes build files from git.
- Added version checks for both Go and Node.js.
- Overhauled the js/css make target to only run when needed.
- Merged the `generate` make target into `build` as per suggestion.

Fixes: https://github.com/go-gitea/gitea/issues/6782
Fixes: https://github.com/go-gitea/gitea/issues/9216
Wars c9b564ccdb fix(docs): Fixed creating Windows service commands ()
escaping " to \"
Florian Hübner 27ac1d0952 add /etc/timezone and /etc/localtime volumes ()
Passing these volumes to the container enable gitea to use hosts localtime and timezone.
This is a mandatory change when using the "Setup fail2ban" Guide, but it is not described in the documentation.
zeripath 115a1cc680
Fix building from source docs to ref AppWorkPath ()
The current source docs reference AppWorkDir instead of AppWorkPath
8ctopus 8a828500e6 Doc config file should not be readable by others as it contains sensitive info ()
leigh capili 70d2244e49 Support SSH_LISTEN_PORT env var in docker app.ini template ()
Signed-off-by: leigh capili <leigh@null.net>
John Olheiser 4ea9a377db Add config option and shortcode for Gitea version ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Lunny Xiao 87404d7c0b Use vendors when go generate ()
* use vendors when go generate

* update docs about golang minimal requirement from 1.9 to 1.11

* fix build
Alexandru Bucur 36448bc923 1.8.3 release ()
Marat Radchenko e07ff2f890 [docker] Add LFS_START_SERVER option to control git-lfs support ()
suisseWalter 181b7c99ed Added Note about arm7 version to doc ()
Appended the Troubleshooting section with a subsection about the problems with the arm7 version and the recommendation to switch to arm6.
zeripath 8d0d7bc28d Make CustomPath, CustomConf and AppWorkPath configurable at build ()
John Olheiser 9bf20f47c4 Enabled emoji in Hugo ()
Removed extra asterisks in Docker doc

Signed-off-by: jolheiser <john.olheiser@gmail.com>
nodiscc 0f54f42646 docs: document setup with read-only config ()
zeripath 04d78b60f8 Fix link to Hacking on Gitea on From-Source doc page ()
* fix rel-ref

* fixup
Aidan Fitzgerald f5cf9a8355 Copyedit docs ()
John Olheiser 4b7237b63e Doc updates for customization and installation. ()
* Doc updates and changing default sqlite DB path

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update customizing locales and THEMES

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add link to templates directory

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add portion for final step of running Gitea

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add recommended to service file usage

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Removed DB path change, moving to another PR
Updated doc sentence structure

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Revert change to template wording

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move recommended run-type to top
zeripath 7f38e2d0de
Update and expand information about building Gitea ()
* Update and expand building information

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove extraneous extra line

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix spelling mistake

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Note about documentation for the website

Signed-off-by: Andrew Thornton <art27@cantab.net>

* More changes

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Clarified the automatic build dependency

* Update the from-source to match the hacking information

* Extend quotes

* Update required go and discord link

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update hacking-on-gitea.en-us.md

Add in information about postcss
vee w 573650877c Fix wrong URL to download link. ()
* Fix wrong URL to download link.

The link does not contain trailing slash and cause error page displayed.

* Update version
techknowlogick 88aa70bab9 Remove tidb reference from docs ()
* Remove tidb reference from docs

* Update from-source.fr-fr.md

* Update from-source.zh-cn.md

* Update from-source.zh-tw.md
vee w 5d384c943f Add Prerequisites ()
Add set system user guide.
Add absolute path for sqlite3 guide.
Dane cbc14df16a Add docs on passing SSH through to container ()
* Add docs on passing SSH through to container

Wasn't clear how to pass SSH connections through the container, found a
few blog posts which described roughly the same procedure I've
documented here.

Credit should really go to:

* https://blog.sakuragawa.moe/gitea-in-docker-container-and-sharing-ssh-with-host/
* http://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system

Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>

* Add note to resolve @lafriks feedback
Ryan Halliday d9b0b7f56e Notes on upgrading docker installation ()
* Notes on upgrading docker installation

Basis from [gogs/gogs](https://github.com/gogs/gogs/blob/master/docker/README.md)

* Feedback from @sapk to use docker-compose only
Paul Strickland 8a9e44d181 Update with-docker.en-us.md ()
Improve grammar in second paragraph.
Mura Li efa4e6bc6f Update the docs for sqlite_unlock_notify ()
BetaCat 637c5fe1eb ZH-CN translation of Installation part ()
Antoine GIRARD e4b8103ac7 Use fingerprint in place of id ()
Dane 513db27377 Add missing envionment vars for DB with Docker ()
Current docs demonstrate how to configure a database container but don't
explicitly specify that you should add additional environment variables
to the Gitea container to make it use the database. This just
demonstrates the changes required.

Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
Wyall dab02b80fd ADD: Hint to function of docker version tags ()
I wasn't sure about how tags work, maybe this is interesting for people with less knowledge of docker.
Girish Ramakrishnan 661fd901bd doc: add Cloudron package ()
Fixes 
SagePtr 3ad5399a31 Update gitea version in install-from-binary docs ()
Benedikt Kroll d57233680b Add documentation on how to update Gitea to new version ()
techknowlogick 61b40520ba GPG verification docs ()
* GPG verification docs

* update URL
Richard Coleman 212fef0866 Add details about USER_UID and USER_GID environment variables ()
David Schneiderbauer 1a6c97be9c update debian binary information ()
Lauris BH 1aee261aae More detailed documentation on how to set up from binary ()
* More detailed documentation on how to set up from binary
Also change recommended file locations
Daniel Peukert b9be49cd96 Minor 'Installation with Docker' docs page fix ()
Fluf b299d7bceb Add Environment Variables to Docker template ()
* Add disable registration as an environment variable

for docker

* Add REQUIRE_SIGNIN_VIEW as env var to docker

* Add variables to template

* Update docker docs
kolaente 9f7c4d92c9 Added explanation for docker environment variables to docs ()
Richard Coleman 869d73a25c Add info from , minor fixes to YAML indentation ()
* Add info from , minor fixes to YAML indentation

* Add space to make YAML valid again
Kim "BKC" Carlbäcker e722bdbb03
Update source installation requirements ()
* Update source installation requirements

We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then

* Use Golang 1.8 for build and test

If we state Golang 1.8 we should test using that version as well

* Use golang 1.8 only for single build to see if everything compiles

* Change back edge also for commented out sqlite test
Michael Lustfield 3ee8be3849 General documentation cleanup ()
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
Kim "BKC" Carlbäcker 923c0105f4 Update gitea version on docs/install-from-binary ()
* Update gitea version on docs/install-from-binary

* Update all versions
bibaijin e2968b4c98 add quotation around ports in docker-compose.yml ()
techknowlogick 474dfcc798 French translation for docs ()
original PR  and author @0xbaadf00d