Leanote install - wiselike/leanote-of-unofficial GitHub Wiki
在 Releases 页面下载最新版参考 官方Wiki 进行安装。
由于略微调整了数据库,升级先需要先运行 leanote_2.6.1_to_2.7.0.py 更新数据库。
建议升级前先备份数据库,以防万一
python3 leanote_2.6.1_to_2.7.0.py dbhost dbname dbuser dbpasswd
-
先运行 leanote_2.6.1_to_2.7.0.py 更新数据库
-
在 Releases 页面下载最新版解压,然后:
- 将
leanote/bin/
目录下的leanote-linux-amd64
和run.sh
覆盖原来的 - 将
leanote/conf/
目录下的routes
覆盖原来的
- 将
覆盖前建议备份
只升级二进制如果需要Emoji, Mermaid,Charjs等功能可以手动添加,参考Leanote 支持 Mermaid,Chartjs。