Skip to content

coderpage/page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

page blog

编译运行

设置运行环境参数

page/conf 创建 conf.go 文件,并设置环境参数,如下:

package conf

const (
	ServerBaseURL string = "http://localhost:8088"

	// mailer
	MailServiceAccount string = "service@coderpage.com"
	MailServicePass    string = "mailpassword"
	MailServiceHost    string = "smtp.coderpage.com"
	MailServicePort    string = "25"

	// mysql db
	MysqlUser   = "root"
	MysqlDBName = "page"
	MysqlPass   = "123456"
)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •