当前位置:网站首页>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
边栏推荐
- 51单片机进修的一些感悟
- [NLP] bert4vec: a sentence vector generation tool based on pre training
- May brush question 03 - sorting
- Control the operation of the test module through the panel in canoe (primary)
- What you have to know about network IO model
- Carolyn Rosé博士的社交互通演讲记录
- cmooc互联网+教育
- Can I learn PLC at the age of 33
- [deep learning] semantic segmentation: thesis reading (neurips 2021) maskformer: per pixel classification is not all you need
- 六月刷题02——字符串
猜你喜欢

在CANoe中通过Panel面板控制Test Module 运行(高级)

If a university wants to choose to study automation, what books can it read in advance?
![[CV] target detection: derivation of common terms and map evaluation indicators](/img/e8/04cc8336223c0ab2dea5638def88df.jpg)
[CV] target detection: derivation of common terms and map evaluation indicators

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

Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)

Target detection -- yolov2 paper intensive reading

The 32 year old programmer left and was admitted by pinduoduo and foreign enterprises. After drying out his annual salary, he sighed: it's hard to choose

Routes and resources of AI

cmooc互联网+教育

51单片机进修的一些感悟
随机推荐
CANoe CAPL文件操作目录合集
Canoe CAPL file operation directory collection
嵌入式開發中的防禦性C語言編程
I2C summary (single host and multi host)
A wave of open source notebooks is coming
Pointer learning
单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
Contrôle de l'exécution du module d'essai par panneau dans Canoe (primaire)
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
Une grande vague d'attaques à la source ouverte
Control the operation of the test module through the panel in canoe (primary)
Regular expressions are actually very simple
Control the operation of the test module through the panel in canoe (Advanced)
Random notes
CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
一大波開源小抄來襲
tn-c为何不可用2p断路器?
How does the single chip microcomputer execute the main function from power on reset?
零基础学习单片机切记这四点要求,少走弯路
MapReduce instance (VI): inverted index