11 Star 27 Fork 25

gsls200808 / JetBrainsLicenseServerforPython

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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

Repository Comments ( 0 )

Sign in to post a comment

About

JetBrainsLicenseServerforPython expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://git.oschina.net/gsls200808/JetBrainsLicenseServerforPython.git
git@git.oschina.net:gsls200808/JetBrainsLicenseServerforPython.git
gsls200808
JetBrainsLicenseServerforPython
JetBrainsLicenseServerforPython
master

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385