GithubHelp home page GithubHelp logo

dengzhifeng / projectshow Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.17 MB

项目demo展示页面, 用服务端渲染技术,所有做的demo都展示在这个页面,

SCSS 0.17% CSS 1.00% Vue 56.14% JavaScript 42.69%

projectshow's Introduction

Build Setup

# install dependencies
$ npm install

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

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


# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

pm2 部署

1、 npm run build 打包 2、 static .nuxt nuxt.config.js package.json pm2.json 5个文件(夹子)压缩成一个文件夹 3、把2的文件夹放到服务器 /home/projectShow (自定义文件夹) 4、如果服务器还没安装pm2, 则执行 npm install pm2 -g
如果没有安装nuxt(启动要用到nuxt命令) 执行 npm install nuxt -D
5、执行pm2命令部署: pm2 start pm2.json 6、如果没有配置nginx 就要配置nginx代理到部署后的地址 一般情况下 前5个步骤就可以了

projectshow's People

Contributors

dengzhifeng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.