当前位置:网站首页>Installation of pagoda and deployment of flask project
Installation of pagoda and deployment of flask project
2022-07-06 09:56:00 【east】
Deploy flask
I use Pagoda in this way python An error is reported when the project manager is installed , Remind me that I need virtual environment .
Then I heard that the boss from afar gave a solution
To enter the virtual environment and then start
Before that, you need to cd command Enter the project directory .
source venv/bin/activate
python app.py
It coincides with the idea of the boss , Then I guess it should be virtual environment ( To isolate package conflicts ).
Linux Build build python A virtual environment :
Just run the command line given to me by the boss from afar .
There is a book in the Group flask Your books should also write .
But I don't know why every time There will be database errors .
Restart and then access .
Checked some relevant information , Should be Database connection problem .
If the database reports an error , Restart the service every time .
Install the reference
After running the instruction :
ECS port release
It has to be released 8888 port
To fully use all the functions of the pagoda You also need to release the following ports :
Build firewall
Edit firewall rules , Add the following ports :8888,888,80,443,20,21
Modify the external firewall to the new firewall
After installation Use
http://117.50.181.88:8888/74e59d27
username: l9qfim2z
password: a1ccf6f5
边栏推荐
- I2C summary (single host and multi host)
- 大学C语言入门到底怎么学才可以走捷径
- 大学想要选择学习自动化专业,可以看什么书去提前了解?
- AI的路线和资源
- Interview shock 62: what are the precautions for group by?
- CANoe下载地址以及CAN Demo 16的下载与激活,并附录所有CANoe软件版本
- VH6501学习系列文章
- What you have to know about network IO model
- [deep learning] semantic segmentation: paper reading: (2021-12) mask2former
- Some thoughts on the study of 51 single chip microcomputer
猜你喜欢
tn-c为何不可用2p断路器?
宝塔的安装和flask项目部署
CANoe不能自动识别串口号?那就封装个DLL让它必须行
Why can't TN-C use 2p circuit breaker?
Une grande vague d'attaques à la source ouverte
docker MySQL解决时区问题
华南技术栈CNN+Bilstm+Attention
Segmentation sémantique de l'apprentissage profond - résumé du code source
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
Redis distributed lock implementation redison 15 questions
随机推荐
[untitled]
五月集训总结——来自阿光
[one click] it only takes 30s to build a blog with one click - QT graphical tool
硬件工程师的真实前途我说出来可能你们不信
五月刷题02——字符串
[deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
vscode 常用的指令
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
CANoe CAPL文件操作目录合集
MapReduce working mechanism
嵌入式開發中的防禦性C語言編程
Some thoughts on the study of 51 single chip microcomputer
西南大学:胡航-关于学习行为和学习效果分析
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
Several ways of MySQL database optimization (pen interview must ask)
[deep learning] semantic segmentation - source code summary
Keep these four requirements in mind when learning single chip microcomputer with zero foundation and avoid detours
手把手教您怎么编写第一个单片机程序
Selection of software load balancing and hardware load balancing
Which is the better prospect for mechanical engineer or Electrical Engineer?