随意添加您需要的功能,我们没有 CI,没有 style-lint,也没有付费用户需要顾忌
本分叉与上游的区别:
- 支持农历(阴历)日期的提醒(很重要,许多人过农历生日、纪念日)
- 对 storage 的访问增加了权限验证(排除了穷举照片、文档的风险)
- 请先预装 Docker、
docker-compose
mkdir monica && cd monica wget https://raw.githubusercontent.com/naiba/monica-fork/master/docker-compose.yml wget -O .env https://raw.githubusercontent.com/naiba/monica-fork/master/.env.example mkdir -p storage/framework/sessions mkdir -p storage/framework/cache mkdir -p storage/framework/views docker-compose up -d
- 修改一下
.env
里面的配置项 - 初始化数据库
docker-compose exec mariadb mysql -uroot -pmysqrootpass -e "CREATE DATABASE monica CHARACTER SET utf8 COLLATE utf8_general_ci;"
- 初始化系统
docker-compose exec monica php /monica/artisan key:generate docker-compose exec monica php /monica/artisan migrate docker-compose exec monica php /monica/artisan passport:keys
- 访问
ip:8080
,可以使用反向代理包装一下
# Do you want to add more calendars (Buddhist, Islamic, Japanese)?
- Add a translation in
resource/lang/en/people.php
, search forreminders_calendar_lunar
. For example: addreminders_calendar_buddhist
afterreminders_calendar_lunar
. - Realize the corresponding Gregorian date conversion operation in
convertToSolarCalendarDate
andaddTimeAccordingToFrequencyType
inapp/Helpers/DateHelper.php
.
此项目从 2020 年 12 月 fork 自 Monica