Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elvin-du/blog
golang blog
https://github.com/elvin-du/blog
Last synced: 25 days ago
JSON representation
golang blog
- Host: GitHub
- URL: https://github.com/elvin-du/blog
- Owner: elvin-du
- Created: 2014-04-20T14:00:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-13T05:23:13.000Z (almost 10 years ago)
- Last Synced: 2024-10-16T02:18:03.416Z (2 months ago)
- Language: JavaScript
- Homepage: http://blog-114627.apse1.nitrousbox.com:8080/
- Size: 1.28 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## blog
> A private blog with golang and html5 on beego frame.
## 编译安装说明:
获取源代码,下载完成后会自动编译为blog可执行文件
>$ go get github.com/macs-du/blog### 修改配置文件
>$ vim github.com/macs-du/blogconf/app.conf> appname = blog
> httpport = 8080
> runmode = dev
> mysqluser = "yourusername"
> mysqlpass = "yourpassword"
> mysqlurls = "127.0.0.1"
> mysqldb = "blog"
### 导入MySQL
> 登录mysql后,执行如下命令:
> source /yourpath/init.sql
### 运行
> $ ./blog> 或
> $ nohup ./blog 2>&1 > blog.log &
> 设为后台运行
### 访问:
>http://localhost:8080
### 后台地址:
> http://localhost:8080/admin/login
> 帐号:root
> 密码:root