Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 2 KB

README.md

File metadata and controls

59 lines (43 loc) · 2 KB

WeCron

license Build Status codecov PRs Welcome

微信上的定时提醒 - Cron on WeChat

图片描述

本地运行

  1. Clone代码
git clone https://github.com/polyrabbit/WeCron.git
  1. 安装依赖包
cd WeCron
pip install -r requirements.txt
  1. 初始化数据库
# 创建数据库
psql -c 'CREATE DATABASE "wecron" WITH OWNER "postgres" TEMPLATE template0 ENCODING="UTF8" CONNECTION LIMIT=-1;'
psql -c 'GRANT ALL PRIVILEGES ON DATABASE "wecron" to "postgres";'

# 建表
python WeCron/manage.py migrate
  1. 启动本地Server
python WeCron/manage.py runserver

扫码关注微定时公众号,体验一下吧

微定时二维码

关于