以记笔记目的为主的轻量级博客,使用Markdown语法。
正在开发中。。。
(暂停开发了一段时间,再反过来看models发现写的好烂)
- NodeJS
- MongoDB
- install depends
- run
git clone https://github.com/Lensual/archive.git - rename & edit your
config.json.sampletoconfig.json - run
node server.js
site_title站点标题db_uriMongoDB地址 "mongodb://[username[:password]@]localhost[:27017]/archive_db"session_maxAgeCookie超时时间 默认 600000ms (10mins)
sudo wget -O /lib/systemd/system/archive.service https://raw.githubusercontent.com/Lensual/archive/master/docs/systemd/archive.service- replace $NODE_HOME
sudo sed -i "s#\$NODE_HOME#$NODE_HOME#g" /lib/systemd/system/archive.service sudo systemctl enable archive.servicesudo systemctl start archive.service