Go to file
Mike Fellows 32f1c41f28 ROOT_URL setting use the default as shown in conf/app.ini (#1823)
The well commented conf/app.ini file that comes with the code shows the
ROOT_URL (i.e. setting.AppURL) as:

    ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/

However the installed custom/conf/app.ini file does not include this setting as
shown, and the default in the setting module was hard coded to
http://localhost:3000/ instead of what is shown above.

With this change the ROOT_URL will default to what is shown above if it is not
set in the custom/conf/app.ini.

Of course it is still possible to override the default by adding the ROOT_URL
setting to your custom/conf/app.ini file as usual.

Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
2017-06-22 15:35:14 +08:00
.github Update links to Discord server 2017-06-11 19:42:08 +02:00
cmd Set TMPDIR enviroment variable for dump command (#1915) 2017-06-08 19:24:15 -05:00
conf fix typo (#1990) 2017-06-17 12:54:37 +08:00
contrib Fix service description in Debian init file (#1538) 2017-04-25 19:30:42 +02:00
docker Fixing multiple docker issues (#386) 2016-12-15 17:16:55 +08:00
integrations Make branch deletion URL more like GitHub's, fixes #1397 (#1994) 2017-06-21 09:00:03 +08:00
models Fix fast-forward PR bug (#1989) 2017-06-22 09:06:57 +08:00
modules ROOT_URL setting use the default as shown in conf/app.ini (#1823) 2017-06-22 15:35:14 +08:00
options Fix deleted milestone bug (#1942) 2017-06-17 12:51:28 +08:00
public Use monospace font in githook editor (#1958) 2017-06-13 10:48:49 +08:00
routers Fix #2001 and fix issue comments hidden (#2016) 2017-06-21 09:00:44 +08:00
scripts Make sure both scripts/ can live side by side (#1264) 2017-03-15 16:11:26 +01:00
templates Keep sort when switching page (#2013) 2017-06-22 09:06:21 +08:00
vendor Update code.gitea.io/git (#2014) 2017-06-20 13:05:32 +08:00
.dockerignore Bug fixed for .dockerignore (#329) 2016-12-01 23:05:28 +08:00
.drone.yml update drone discord plugin to 0.0.4 version (#1992) 2017-06-17 19:12:43 +08:00
.drone.yml.sig update drone discord plugin to 0.0.4 version (#1992) 2017-06-17 19:12:43 +08:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore Coverage reports for integration tests (#1960) 2017-06-15 17:38:33 +08:00
.lgtm Added ignore_maintainers_file option to .lgtm 2016-11-07 16:36:37 +01:00
CHANGELOG.md [ci skip] add 1.1.2 change log. 2017-06-12 17:07:52 +08:00
CONTRIBUTING.md Update links to Discord server 2017-06-11 19:42:08 +02:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Realy don't cache apk index 2017-05-09 15:34:33 +02:00
Dockerfile.aarch64 Realy don't cache apk index 2017-05-09 15:34:33 +02:00
Dockerfile.rpi Fix missing backslash in Dockerfile.rpi (#1952) 2017-06-13 10:07:11 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Fix for #828: Embed build tags (#1051) 2017-02-28 08:40:02 +08:00
MAINTAINERS Add myself as a maintainer (#1948) 2017-06-12 08:11:50 -05:00
Makefile Add integration test for repository migration (#1983) 2017-06-20 19:23:16 +08:00
README_ZH.md Update links to Discord server 2017-06-11 19:42:08 +02:00
README.md Add discourse link (#2027) 2017-06-22 09:07:13 +08:00

简体中文

Gitea - Git with a cup of tea

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Coverage Status Go Report Card GoDoc Release

Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs.

Notes

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
  3. If you're interested in using our APIs, we have experimental support with documentation.

Docs

For more information and instructions about how to install Gitea please look at our documentation. If you cannot find some specific information, then head over to our Discord server to chat with us or use the forum.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.