Skip to content

polyrabbit/WeCron

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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

微定时二维码

关于