Browse Source

Improve db path prompt when install

master
Unknwon 9 years ago
parent
commit
ee53204e02
7 changed files with 23 additions and 23 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      conf/app.ini
  3. +1
    -1
      conf/locale/locale_en-US.ini
  4. +1
    -1
      gogs.go
  5. +17
    -17
      modules/bindata/bindata.go
  6. +1
    -1
      templates/.VERSION
  7. +1
    -1
      templates/install.tmpl

+ 1
- 1
README.md View File

@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra


![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)


##### Current version: 0.8.31
##### Current version: 0.8.32


| Web | UI | Preview | | Web | UI | Preview |
|:-------------:|:-------:|:-------:| |:-------------:|:-------:|:-------:|


+ 1
- 1
conf/app.ini View File

@@ -91,7 +91,7 @@ USER = root
PASSWD = PASSWD =
; For "postgres" only, either "disable", "require" or "verify-full" ; For "postgres" only, either "disable", "require" or "verify-full"
SSL_MODE = disable SSL_MODE = disable
; For "sqlite3" and "tidb"
; For "sqlite3" and "tidb", use absolute path when you start as service
PATH = data/gogs.db PATH = data/gogs.db


[admin] [admin]


+ 1
- 1
conf/locale/locale_en-US.ini View File

@@ -65,7 +65,7 @@ db_name = Database Name
db_helper = Please use INNODB engine with utf8_general_ci charset for MySQL. db_helper = Please use INNODB engine with utf8_general_ci charset for MySQL.
ssl_mode = SSL Mode ssl_mode = SSL Mode
path = Path path = Path
sqlite_helper = The file path of SQLite3 or TiDB database.
sqlite_helper = The file path of SQLite3 or TiDB database. <br>Please use absolute path when you start as service.
err_empty_db_path = SQLite3 or TiDB database path cannot be empty. err_empty_db_path = SQLite3 or TiDB database path cannot be empty.
err_invalid_tidb_name = TiDB database name does not allow characters "." and "-". err_invalid_tidb_name = TiDB database name does not allow characters "." and "-".
no_admin_and_disable_registration = You cannot disable registration without creating an admin account. no_admin_and_disable_registration = You cannot disable registration without creating an admin account.


+ 1
- 1
gogs.go View File

@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )


const APP_VER = "0.8.31.0205"
const APP_VER = "0.8.32.0207"


func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())


+ 17
- 17
modules/bindata/bindata.go
File diff suppressed because it is too large
View File


+ 1
- 1
templates/.VERSION View File

@@ -1 +1 @@
0.8.31.0205
0.8.32.0207

+ 1
- 1
templates/install.tmpl View File

@@ -68,7 +68,7 @@
<div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}"> <div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
<label for="db_path">{{.i18n.Tr "install.path"}}</label> <label for="db_path">{{.i18n.Tr "install.path"}}</label>
<input id="db_path" name="db_path" value="{{.db_path}}"> <input id="db_path" name="db_path" value="{{.db_path}}">
<span class="help">{{.i18n.Tr "install.sqlite_helper"}}</span>
<span class="help">{{.i18n.Tr "install.sqlite_helper" | Safe}}</span>
</div> </div>
</div> </div>




Loading…
Cancel
Save