Giter VIP home page Giter VIP logo

fue's Introduction

FUE

flask和vue(nuxt)的项目框架

说明

FUE = Flask+Vue(nuxt)

技术栈

  • 前端:vue全家桶 + nuxt
  • 后端:Flask
  • 数据库:MySQL

无耻的要个Star

老板,来都来了,给个star吧~

部署

后端

1、准备工作

  • conda虚拟环境
  • 安装依赖包
pip install -r requirements.txt

2、 启动

python run.py

前端

1、准备工作 安装装PM2

2、项目clone到服务器

git clone [email protected]:xx/xx.git

3、运行 cd进入改目录下,安装依赖:

npm install
npm run build

运行项目命令(若用pm则可省)

npm start

此时运行的是 http://localhost:3000

4、pm2开启进程守护

pm2 start npm --name ProjectName -- start
# ProjectName 是项目名称 在package.json中

5、修改项目,重新打包,然后重新部署,则需要重新启动 pm2

pm2 stop ProjectName   // 先停止

pm2 restart ProjectName  // 再重启

广告时间:

Github:https://github.com/Prolht/FUE 点个star哟!

个人站:http://tools.lex666.online

新浪微博: https://weibo.com/u/2415026333

微信公众号:Pylexton 欢迎关注!

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.