/URL-shortener

短链服务

Primary LanguagePythonMIT LicenseMIT

README

这是个基于web.py和sqlite的短链服务,为了编码方便还使用了peewee。(python2.7)

使用方法

安装依赖

pip install -r requirements

修改代码11行的host和12行的port

host = "10.67.13.145"
port = 8080

跑起来:

python main.py