Skip to content

Commit 115a1cc

Browse files
authored
Fix building from source docs to ref AppWorkPath (#8567)
The current source docs reference AppWorkDir instead of AppWorkPath
1 parent d151503 commit 115a1cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/doc/installation/from-source.en-us.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ launched manually from command line, it can be killed by pressing `Ctrl + C`.
118118
./gitea web
119119
```
120120

121-
## Changing the default CustomPath, CustomConf and AppWorkDir
121+
## Changing the default CustomPath, CustomConf and AppWorkPath
122122

123123
Gitea will search for a number of things from the `CustomPath`. By default this is
124124
the `custom/` directory in the current working directory when running Gitea. It will also
125125
look for its configuration file `CustomConf` in `$CustomPath/conf/app.ini`, and will use the
126-
current working directory as the relative base path `AppWorkDir` for a number configurable
126+
current working directory as the relative base path `AppWorkPath` for a number configurable
127127
values.
128128

129129
These values, although useful when developing, may conflict with downstream users preferences.
@@ -134,7 +134,7 @@ using the `LDFLAGS` environment variable for `make`. The appropriate settings ar
134134

135135
* To set the `CustomPath` use `LDFLAGS="-X \"code.gitea.io/gitea/modules/setting.CustomPath=custom-path\""`
136136
* For `CustomConf` you should use `-X \"code.gitea.io/gitea/modules/setting.CustomConf=conf.ini\"`
137-
* For `AppWorkDir` you should use `-X \"code.gitea.io/gitea/modules/setting.AppWorkDir=working-directory\"`
137+
* For `AppWorkPath` you should use `-X \"code.gitea.io/gitea/modules/setting.AppWorkPath=working-path\"`
138138

139139
Add as many of the strings with their preceding `-X` to the `LDFLAGS` variable and run `make build`
140140
with the appropriate `TAGS` as above.

0 commit comments

Comments
 (0)