LEANOTE is a notebook platform, which you can host by yourself.
Leanote, Not Just A Notebook!
git clone https://github.com/moenayuki/leanote-dockerfile.git && cd leanote-dockerfile
docker build --tag="leanote:1.0b3" .
Please modify conf/app.conf
to meet your demands. Focusing on these:
site.url
app.secret
There's no need to modify the settings of
db
- They're done inaddUser.js
andstart.sh
. Check these two files if you want to do more customization like a boss.
docker run -v <YOUR DATABASE DIR>:/root/notedata -v <YOUR CONF DIR>:/root/leanote/conf -p <YOUR PORT>:80 -d --name leanote leanote:1.0b3
The container's initial start may fail. You can manually
docker start leanote
again to let it work properly. Wondering why. Please fix it if you find out the reason.