Skip to content

hlskysong/my-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25fdb66 · Feb 28, 2019

History

26 Commits
Oct 19, 2018
Jan 14, 2019
Oct 15, 2018
Feb 26, 2019
Feb 28, 2019
Oct 15, 2018
Feb 28, 2019
Feb 1, 2019
Feb 28, 2019
Feb 28, 2019
Feb 28, 2019
Oct 15, 2018
Nov 27, 2018
Oct 15, 2018
Feb 28, 2019
Feb 26, 2019
Feb 26, 2019
Feb 26, 2019
Jan 11, 2019

Repository files navigation

my-blog

my-blog-vue-ssr

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ yarn run generate

Nuxt.js 中文文档.

部署说明

  • 参考资料
  • 如需修改端口,在 package.json scripts 中添加 PORT=8080
  • build 打包后,将一下文件上传到服务器
.nuxt
static
server
nuxt.config.js
package.json
  • npm install 安装依赖
  • npm start

pm2守护

pm2 start npm --watch --name "blog" -- run start

  • mongod 启动mongo服务 mongod --config /home/mongoDB/mongodb.conf

  • caddy caddy -conf="/etc/caddy/caddy.conf"

centos7 mongoDB部署及授权连接

https://www.jianshu.com/p/994bc7b19b26

centos7 mongoDB开机自启

https://www.jianshu.com/p/a443cf50cfee

关于隐私政策

  • 国内的网络环境应该是无所谓的,不过看到有人说还是加上比较好,这方面只会越来越严格,所以找了一个网站的英语版本做参考
  • 这个网站也是比较有意思的 remove.bg 上不去请挂梯子 By using this website, you agree to the use of cookies. Details on how we use cookies can be found in our Privacy Policy
  • 另一个中文版本 跳转
本网站使用的一些在线服务可能会收集关于您的信息,继续访问本网站(无论您是否关闭该对话框)即表示您同意我们的 隐私声明。

了解

关于右下角的猫

About

my-blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published