【文件属性】:
文件名称:straight-it:简单的链接缩短器
文件大小:9KB
文件格式:ZIP
更新时间:2021-04-06 20:56:45
Python
直接
与烧瓶一起开发,以促进并加快链接缩短器应用程序的开发。
要求 :page_facing_up:
Python 3或更高版本
PIP 3或更高
几个python库,将在稍后的安装部分中进行说明
逐步安装 :person_walking:
从Github下载 :right_arrow_curving_down:
$ git clone https://github.com/dhanuprys/straight-it
$ cd straight-it
安装所需的依赖项 :building_construction:
$ pip3 install -r requirements.txt
请稍等片刻
运行应用程序 :rocket:
在运行该应用程序之前,您必须注意以下事项,例如端口设置,访问键等。
所有这些配置都可以通过环境进行配置。
只需使用以下命令即可运行该应用程序:
$ STRAIGHT_API_KEY=yourprivatekey python3 __main__.py
API密钥设置(必填) :key:
$ STRAIGHT_API_K
【文件预览】:
straight-it-main
----templates()
--------js_director.html(343B)
--------index.html(2KB)
----model()
--------jsonstorage.py(3KB)
--------basemodel.py(781B)
----middleware()
--------__init__.py(364B)
----__main__.py(5KB)
----LICENSE(1KB)
----version.txt(4B)
----generator()
--------__init__.py(184B)
----response_builder()
--------__init__.py(319B)
----requirements.txt(24B)
----.gitignore(29B)
----README.md(3KB)