当前位置:网站首页>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
边栏推荐
- Zsh configuration file
- 嵌入式開發中的防禦性C語言編程
- 五月刷题01——数组
- Several ways of MySQL database optimization (pen interview must ask)
- Control the operation of the test module through the panel in canoe (primary)
- Hero League rotation chart manual rotation
- Interview shock 62: what are the precautions for group by?
- C杂讲 动态链表操作 再讲
- docker MySQL解决时区问题
- 在CANoe中通过Panel面板控制Test Module 运行(高级)
猜你喜欢

What you have to know about network IO model

If a university wants to choose to study automation, what books can it read in advance?

Which is the better prospect for mechanical engineer or Electrical Engineer?

嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历

零基础学习单片机切记这四点要求,少走弯路

Hero League rotation map automatic rotation

Control the operation of the test module through the panel in canoe (primary)

嵌入式开发中的防御性C语言编程

MapReduce instance (x): chainmapreduce

宝塔的安装和flask项目部署
随机推荐
Vh6501 Learning Series
History of object recognition
机械工程师和电气工程师方向哪个前景比较好?
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
在CANoe中通过Panel面板控制Test Module 运行(初级)
六月刷题01——数组
Contrôle de l'exécution du module d'essai par panneau dans Canoe (primaire)
五月刷题27——图
[deep learning] semantic segmentation: paper reading: (2021-12) mask2former
Function description of shell command parser
嵌入式開發中的防禦性C語言編程
flask运维脚本(长时间运行)
Control the operation of the test module through the panel in canoe (Advanced)
学习单片机对社会的帮助是很大的
Upload vulnerability
Regular expressions are actually very simple
How does the single chip microcomputer execute the main function from power on reset?
Teach you how to write the first MCU program hand in hand
Nc17 longest palindrome substring