飞哥的海

导航

02 2021 档案

vscode 调试flask项目 解决(socket.gaierror: [Errno 11001] getaddrinfo failed)
摘要:0.vscode编写flask很舒服,建议服用 1.创建断点调式方法参考微软官网(https://code.visualstudio.com/docs/python/tutorial-flask) 2.默认情况下,flask是不能给其他电脑公开地址。也就是说,运行后,是如下展示,只能本机127.0. 阅读全文

posted @ 2021-02-10 11:58 飞哥的海 阅读(2659) 评论(0) 推荐(0)

windows下部署 flask (win10+flask+nginx)
摘要:0.flask理想状况是部署在linux服务器上。事情总是有但是。。。 1.下载nginx(http://nginx.org/en/download.html) 2.打开conf文件夹,找到nginx.conf 找到,改一下端口号 3.cmd下运行 start nginx,访问8080即可 4.创建 阅读全文

posted @ 2021-02-07 19:14 飞哥的海 阅读(4569) 评论(0) 推荐(0)

git入门
摘要:0.认真学习git 1.下载git,一路next到底,安装结束 官网(https://git-scm.com/downloads) 镜像(https://npm.taobao.org/mirrors/git-for-windows/) 2.注册gitee,给自己创建个测试仓库,使用master/de 阅读全文

posted @ 2021-02-05 20:11 飞哥的海 阅读(74) 评论(0) 推荐(0)

配置maven的国内镜像
摘要:<!-- 阿里云中央仓库 159行 --> <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/rep 阅读全文

posted @ 2021-02-04 14:08 飞哥的海 阅读(8156) 评论(0) 推荐(3)