当前位置:网站首页>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
边栏推荐
猜你喜欢
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
MapReduce instance (VII): single table join
A wave of open source notebooks is coming
西南大学:胡航-关于学习行为和学习效果分析
大学想要选择学习自动化专业,可以看什么书去提前了解?
I2C summary (single host and multi host)
在CANoe中通过Panel面板控制Test Module 运行(高级)
CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
tn-c为何不可用2p断路器?
cmooc互联网+教育
随机推荐
Installation de la pagode et déploiement du projet flask
Upload vulnerability
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
Delayed note learning
Why data Tiering
Safety notes
Inject common SQL statement collation
51单片机进修的一些感悟
Learning SCM is of great help to society
西南大学:胡航-关于学习行为和学习效果分析
[untitled]
Control the operation of the test module through the panel in canoe (Advanced)
五月刷题03——排序
单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
AI的路线和资源
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
竞赛vscode配置指南
Teach you how to write the first MCU program hand in hand
C杂讲 文件 续讲
068. Find the insertion position -- binary search