Skip to content

Commit

Permalink
v1.0-beta.4 mac
Browse files Browse the repository at this point in the history
  • Loading branch information
lealife committed Apr 6, 2015
1 parent d29a879 commit e0ca859
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 2,332 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
与leanote源码最大的区别是该仓库/bin下有leanote-mac, leanote-linux, leanote-win64三个二进制文件.

## 如何安装
1.使用mongorestore还原mongodb_backup/leanote_install_data数据
2.配置conf/app.conf:mongodb参数配置,需要外网访问或代理访问时,修改参数site.url
3.运行bin目录下的对应脚本启动leanote.(run-hide.vbs可以在windows下隐藏控制台运行)
详细安装部署,参考: [leanote二进制版详细安装教程](https://github.com/leanote/leanote/wiki/leanote%E4%BA%8C%E8%BF%9B%E5%88%B6%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B)
1. 使用mongorestore还原mongodb_backup/leanote_install_data数据;
2. 配置conf/app.conf:mongodb参数配置, 需要外网访问或代理访问时, 修改参数site.url;
3. 运行bin目录下的对应脚本启动leanote. (run-hide.vbs可以在windows下隐藏控制台运行)

详细安装部署, 参考: [leanote二进制版详细安装教程](https://github.com/leanote/leanote/wiki/leanote%E4%BA%8C%E8%BF%9B%E5%88%B6%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B)

## 如何更新

Expand All @@ -18,7 +19,7 @@

1. 将该程序解压到另一目录
2. 将之前的`/conf/app.conf`, `/files`, `/public/upload`, `/mongodb_backup`文件夹 拷贝到 新目录的相应位置
3. 重新运行`/bin/run.sh`
3. 重新运行`/bin/run.sh``run.bat`

## 注意事项
* 请勿向该仓库提交代码, 当然欢迎提交与二进制版相关的issue, 打包好的二进制leanote.
* 请勿向该仓库提交代码, 当然欢迎提交与二进制版相关的issue, 打包好的二进制leanote.
4 changes: 2 additions & 2 deletions app/views/admin/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</a>
</li>
<li class="hidden-xs">
<a href="/blog/admin" class="dk" target="_blank">
<a href="/blog" class="dk" target="_blank">
My Blog
</a>
</li>
Expand Down Expand Up @@ -120,4 +120,4 @@
</ul>
-->
<!-- 主要内容区 -->


Binary file removed bin/leanote-linux
Binary file not shown.
Binary file modified bin/leanote-mac
Binary file not shown.
6 changes: 3 additions & 3 deletions conf/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# leanote config
#------------------------

http.port=80
http.port=9000

site.url=http://localhost # or http://x.com:8080, http://www.xx.com:9000
site.url=http://localhost:9000 # or http://x.com:8080, http://www.xx.com:9000

# mongdb
db.host=localhost
db.port=27017
db.dbname=leanote # required
db.dbname=leanote6 # required
#db.username= # if not exists, please leave it blank
#db.password= # if not exists, please leave it blank
# or you can set the mongdb url for more complex needs the format is:
Expand Down
2 changes: 0 additions & 2 deletions conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ POST /findPasswordUpdate Auth.FindPasswordUpdate
* /note/copyNote Note.CopyNote
* /note/copySharedNote Note.CopySharedNote
* /note/searchNoteByTags Note.SearchNoteByTags
* /note/toImage Note.ToImage
* /note/html2Image Note.Html2Image
* /note/setNote2Blog Note.SetNote2Blog
# pjax
GET /note/:noteId Note.Index
Expand Down
1 change: 0 additions & 1 deletion public/blog/js/ck/common-min.js

This file was deleted.

1 change: 0 additions & 1 deletion public/blog/themes/README.html

This file was deleted.

15 changes: 0 additions & 15 deletions public/css/css/editor-writting-mode.css

This file was deleted.

27 changes: 0 additions & 27 deletions public/css/css/editor.css

This file was deleted.

Loading

0 comments on commit e0ca859

Please sign in to comment.