trellixvulnteam / flasktest1_xqzw Goto Github PK
View Code? Open in Web Editor NEWThis project forked from runningsparrow/flasktest1
flasktest1
This project forked from runningsparrow/flasktest1
flasktest1
1 首先在目标的 windows环境安装与源windows机器相同的 python版本(本例使用3.7.2),配置好环境变量 然后安装 virtualenv 参考安装语句 pip install virtualenv 2 将flask项目解压到 目录 xx 进入项目虚拟环境(项目根目录/venv/venv37)所在目录上一层执行 Virtualenv 虚拟环境目录 3 安装mysql 建立一个数据库,本例同项目名称(flasktest1) 4 修改 项目根目录/config.py Mysql 的用户名密码 mysql+pymysql://username:[email protected]:3306/flasktest1 5 执行虚拟环境/Scripts/activate.bat 进入虚拟目录 删除 项目根目录/migrations 然后打开cmd, 在项目根目录执行 Python manage.py db init Python manage.py db migrate Python manage.py db upgrade 6 运行项目 Python manage.py runserver 默认地址 http://localhost:5000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.