Code Monkey home page Code Monkey logo

vue-ssr-deploy's Introduction

About

这是慕课网上Vue+Webpack打造todo应用课程的源码

使用方法

git clone https://github.com/Jokcy/vue-todo-tech.git

进入项目目录,运行

npm install

然后执行

npm run dev

开始开发项目 pm2 start pm2.yml (启动服务)

localhost:3333

发布部署项目步骤

[本地测试] [1] pm2 start pm2.yml --env production ; 本地可以查看 localhost:8888(本地测试,没问题推到git上) [以下操作都是在服务器中进行的] [2] ssh [email protected] (git bash 打开, 先连接远程服务器IP , ) [3] cd projects/ (将项目部署在projects 下面) [4] git clone url (将git 项目拉到服务器上) [5] cd vue-ssr-tech/ (进去项目目录) [6] npm i (安装依赖包) [7] npm run build(生成文件) [8] pm2 start pm2.yml (启动服务)
[9] 用nginx 做反向代理, 访问我们启动的服务

vue-ssr-deploy's People

Contributors

jokcy avatar json11 avatar

Watchers

James Cloos 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.