Comments (7)
可能是你的配置信息有误,检查下 conf/app.conf 的配置,直接使用 ./gopub 启动看看报什么错误。
from gopub.
[root@muji gopub-v2.0.0]# cat conf/app.conf
appname = gopub
httpport = 8000
runmode = dev
数据库配置
db.host = 127.0.0.1
db.user = root
db.password = "123456" ------------------我自己修改了
db.port = 3306
db.name = gopub
db.prefix = "t_"
db.timezone = "Asia/Shanghai"
邮件服务器配置
mail.from = [email protected]
mail.host = smtp.example.com
mail.port = 25
mail.user = username
mail.password = your password
数据目录设置
data_dir = /data/golang/src/gopub/data
日志文件
log_file = logs/error.log
[root@muji gopub-v2.0.0]# ./gopub
-bash: ./gopub: Permission denied
from gopub.
看下 gopub 是不是缺少可执行权限,chmod +x ./gopub 加上执行权限再运行。
from gopub.
现在可以启动了,默认登录账号和密码是多少 ?
建议:
1,gopub 默认没有执行权限,按理说go build gopub 后生成的gopub会有执行权限,希望在README.md说明
2,说明conf/app.conf 需要根据自己的配置更改相应信息
from gopub.
帐号:admin 密码:admin888
from gopub.
恩 ,谢谢,我刚才自己MD5反解密找到密码了、 麻烦再README 添加说明哦、
from gopub.
嗯嗯,已经加了说明
from gopub.
Related Issues (20)
- 您好,请问这个后台系统是用的bootstrap哪一套模板? HOT 2
- Error 1292: Incorrect datetime value: '-0001-11-30 08:05:52' for column 'pub_time' at row 1
- 问题 HOT 1
- can't import sql to mysql HOT 3
- 无法运行
- ./service.sh status 服务不在运行状态, 但进程ID文件存在 HOT 5
- 请教点问题
- 请教为什么没有正常压缩包
- 为什么在这个框架中用了session就出错?
- 我对这个发布平台提些建议
- gitlab上重命名的文件,差异打包文件出错
- 添加跳板机报错ssh: must specify HostKeyCallback HOT 6
- 这个项目还维护不 HOT 3
- 新建发单 发布环境没有选项
- 版本发布跳转
- 源码没有开放对吧,我下载来用一下。 HOT 1
- 为何每次启动成功进程就没了 HOT 3
- 新建发布单时间问题 HOT 1
- 新建发布单时报错 HOT 1
- 插入Task失败, pub_time 字段 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopub.