11 Star 28 Fork 28

gsls200808/ JetBrainsLicenseServerforPython

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

JetBrainsLicenseServerforPython

这是一个Python语言版的JetBrains License Server模拟器,支持python3,兼容python2.7.(本来不打算支持2的,后来感觉对centos7默认的python版本无奈了,改centos7的默认python比改python代码麻烦多了)

使用方法

安装所需要的如下两个库

pip3 install rsa
pip3 install flask

如果python版本位python2 安装库的代码改为

pip install rsa
pip install flask

用cd命令切换到JetBrainsLicenseServer.py所在目录

linux版运行

export FLASK_APP=JetBrainsLicenseServer.py
export FLASK_DEBUG=1
flask run --port 8080 --host 0.0.0.0

windows版运行

set FLASK_APP=JetBrainsLicenseServer.py
set FLASK_DEBUG=1
flask run --port 8080 --host 0.0.0.0

本地搭建的服务器地址设置为

http://localhost:8080

空文件

简介

JetBrainsLicenseServerforPython 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/gsls200808/JetBrainsLicenseServerforPython.git
git@gitee.com:gsls200808/JetBrainsLicenseServerforPython.git
gsls200808
JetBrainsLicenseServerforPython
JetBrainsLicenseServerforPython
master

搜索帮助

371d5123 14472233 46e8bd33 14472233