Skip to content

Commit

Permalink
change infomartion
Browse files Browse the repository at this point in the history
  • Loading branch information
idoubi committed Feb 7, 2020
1 parent ff479dc commit 1583d34
Show file tree
Hide file tree
Showing 4 changed files with 8,135 additions and 131 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

gonews是基于`go+vue`实现的golang每日新闻浏览与检索平台

- 项目地址:[Github](https://github.com/mikemintang/gonews)
- 线上Demo:[GoNews](http://gonews.cc)
- 项目地址:[Github](https://github.com/idoubi/gonews)
- 线上Demo:[GoNews](http://gonews.idoubi.cc)
- 数据来源:[GoCN每日新闻](https://github.com/gocn/news)

## 项目截图
Expand All @@ -25,7 +25,7 @@ git clone https://github.com/gocn/news /data/news
- 获取源码

```
go get -u github.com/mikemintang/gonews
go get -u github.com/idoubi/gonews
```

- 启动后台服务,拉取、解析数据
Expand All @@ -45,7 +45,7 @@ nohup gonews -a api -p 8017 > /data/log/gonews.log 2>&1 &
- 前端部署

```
cd $GOPATH/src/github.com/mikemintang/gonews/web
cd $GOPATH/src/github.com/idoubi/gonews/web
npm install
npm run build
```
Expand All @@ -57,7 +57,7 @@ server {
listen 80;
server_name gonews.cc;
index index.html index.htm index.php;
root /data/go/src/mikemintang/gonews/web;
root /data/go/src/idoubi/gonews/web;
location /api {
rewrite ^.+api/?(.*)$ /$1 break;
Expand Down
38 changes: 21 additions & 17 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GoNews-Daily news for golang</title>
<meta charset="utf-8">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" sizes="120x120" href="/public/logo-120.png">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<link rel="shortcut icon" sizes="48x48" href="https://gocn.io/static/css/default/img/favicon.png?v=20160523">
<meta name="theme-color" content="#f60">
</head>
<body>
<div id="app"></div>
<script src="/dist/build.js"></script>
</body>
</html>

<head>
<meta charset="utf-8">
<title>GoNews-Daily news for golang</title>
<meta charset="utf-8">
<meta name="keywords" content="gonews,GoNews,go,golang每日新闻,golang,Golang学习,Golang教程,Golang社区" />
<meta name="description" content="gonews,Golang每日新闻浏览平台。" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" sizes="120x120" href="/public/logo-120.png">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<link rel="shortcut icon" sizes="48x48" href="https://gocn.io/static/css/default/img/favicon.png?v=20160523">
<meta name="theme-color" content="#f60">
</head>

<body>
<div id="app"></div>
<script src="/dist/build.js"></script>
</body>

</html>
Loading

0 comments on commit 1583d34

Please sign in to comment.