标签:arc github 文章 loaded img 用户注册 art arch -bash
Flask Vue.js全栈开发$ git clone https://github.com/wangy8961/flask-vuejs-madblog.git
Open a new terminal:
$ cd back-end
$ python -m venv venv
$ source venv/bin/activate
(venv)$ pip install -r requirements.txt
# Flask-Migrate create database
(venv)$ flask db upgrade
# create back-end/.env file, like this
FLASK_APP=madblog.py
FLASK_DEBUG=1
(venv)$ flask run
浏览器访问: http://localhost:5000/api/ping
Open a new terminal:
$ cd front-end
$ npm install
$ npm run dev
浏览器访问: http://localhost:8080
标签:arc github 文章 loaded img 用户注册 art arch -bash
原文地址:http://blog.51cto.com/wangy8961/2316578