From 257a1415191fae8d4b8b00633221cde596a04d57 Mon Sep 17 00:00:00 2001 From: leanote Date: Thu, 5 Mar 2015 17:27:15 +0800 Subject: [PATCH] Update README_zh.md --- README_zh.md | 110 +++++++++++++++++++++++++-------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/README_zh.md b/README_zh.md index 7ad307b..221d1f0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,67 +1,67 @@ -# Leanote产品 +# Leanote浜у搧 -## 1. 介绍 +## 1. 浠嬬粛 -Leanote, 不只是笔记! +Leanote, 涓嶅彧鏄瑪璁! ![leanote.png](leanote.png "") -**特性** +**鐗规** -* 知识管理: 通过leanote来管理知识, leanote有易操作的界面, 包含两款编辑器tinymce和markdown. 在leanote, 你可以尽情享受写作. -* 分享: 你也可以通过分享知识给好友, 让好友拥有你的知识. -* 协作: 在分享的同时也可以与好友一起协作知识. -* 博客: leanote也可以作为你的博客, 将知识公开成博客, 让leanote把你的知识传播的更远! +* 鐭ヨ瘑绠$悊: 閫氳繃leanote鏉ョ鐞嗙煡璇, leanote鏈夋槗鎿嶄綔鐨勭晫闈, 鍖呭惈涓ゆ缂栬緫鍣╰inymce鍜宮arkdown. 鍦╨eanote, 浣犲彲浠ュ敖鎯呬韩鍙楀啓浣. +* 鍒嗕韩: 浣犱篃鍙互閫氳繃鍒嗕韩鐭ヨ瘑缁欏ソ鍙, 璁╁ソ鍙嬫嫢鏈変綘鐨勭煡璇. +* 鍗忎綔: 鍦ㄥ垎浜殑鍚屾椂涔熷彲浠ヤ笌濂藉弸涓璧峰崗浣滅煡璇. +* 鍗氬: leanote涔熷彲浠ヤ綔涓轰綘鐨勫崥瀹, 灏嗙煡璇嗗叕寮鎴愬崥瀹, 璁﹍eanote鎶婁綘鐨勭煡璇嗕紶鎾殑鏇磋繙! -## 2. 为什么我们要创建leanote? -说实话, 我们曾是evernote的忠实粉丝, 但是我们也发现evernote的不足: -* evernote的编辑器不能满足我们的需求, 不能贴代码(格式会乱掉, 作为程序员, 代码是我们的基本需求啊), 图片不能缩放. -* 我们是markdown的爱好者, 可是evernote竟然没有. -* 我们也想将知识公开, 所以我们有自己的博客, 如wordpress, 但为什么这两者不能合二为一呢? -* 还有... +## 2. 涓轰粈涔堟垜浠鍒涘缓leanote? +璇村疄璇, 鎴戜滑鏇炬槸evernote鐨勫繝瀹炵矇涓, 浣嗘槸鎴戜滑涔熷彂鐜癳vernote鐨勪笉瓒: +* evernote鐨勭紪杈戝櫒涓嶈兘婊¤冻鎴戜滑鐨勯渶姹, 涓嶈兘璐翠唬鐮(鏍煎紡浼氫贡鎺, 浣滀负绋嬪簭鍛, 浠g爜鏄垜浠殑鍩烘湰闇姹傚晩), 鍥剧墖涓嶈兘缂╂斁. +* 鎴戜滑鏄痬arkdown鐨勭埍濂借, 鍙槸evernote绔熺劧娌℃湁. +* 鎴戜滑涔熸兂灏嗙煡璇嗗叕寮, 鎵浠ユ垜浠湁鑷繁鐨勫崥瀹, 濡倃ordpress, 浣嗕负浠涔堣繖涓よ呬笉鑳藉悎浜屼负涓鍛? +* 杩樻湁... -## 3.安装leanote -leanote是一款私有云笔记, 你可以下载它安装在自己的服务器上, 当然也可以在 http://leanote.com 上注册. +## 3.瀹夎leanote +leanote鏄竴娆剧鏈変簯绗旇, 浣犲彲浠ヤ笅杞藉畠瀹夎鍦ㄨ嚜宸辩殑鏈嶅姟鍣ㄤ笂, 褰撶劧涔熷彲浠ュ湪 http://leanote.com 涓婃敞鍐. -这里详细整理了leanote二进版和leanote开发版的安装教程, 请移步至: -* [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) -* [leanote开发版详细安装教程](https://github.com/leanote/leanote/wiki/leanote%E5%BC%80%E5%8F%91%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B) +杩欓噷璇︾粏鏁寸悊浜唋eanote浜岃繘鐗堝拰leanote寮鍙戠増鐨勫畨瑁呮暀绋, 璇风Щ姝ヨ嚦: +* [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) +* [leanote寮鍙戠増璇︾粏瀹夎鏁欑▼](https://github.com/leanote/leanote/wiki/leanote%E5%BC%80%E5%8F%91%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B) -### 3.1. 下载leanote +### 3.1. 涓嬭浇leanote -Leanote V1.0-beta.2 已发布, 二进制文件(暂时没有windows版的): +Leanote V1.0-beta.3 宸插彂甯, 浜岃繘鍒舵枃浠(鏆傛椂娌℃湁windows鐗堢殑): -* Linux: [leanote-linux-x86_64.v1.0-beta.2.bin.tar.gz](https://github.com/leanote/leanote/releases/download/1.0-beta/leanote-linux-x86_64.v1.0-beta.2.bin.tar.gz) -* MacOS X: [leanote-mac-x86_64.v1.0-beta.2.bin.tar.gz](https://github.com/leanote/leanote/releases/download/1.0-beta/leanote-mac-x86_64.v1.0-beta.2.bin.tar.gz) +* Linux: [leanote-linux-x86_64.v1.0-beta.3.bin.tar.gz](https://github.com/leanote/leanote/releases/download/1.0-beta.3/leanote-linux-x86_64.v1.0-beta.3.bin.tar.gz) +* MacOS X: [leanote-mac-x86_64.v1.0-beta.3.bin.tar.gz](https://github.com/leanote/leanote/releases/download/1.0-beta.3/leanote-mac-x86_64.v1.0-beta.3.bin.tar.gz) -或者直接检出[Leanote bin repository](https://github.com/leanote/leanote-bin) (推荐, 因为为最新版本) +鎴栬呯洿鎺ユ鍑篬Leanote bin repository](https://github.com/leanote/leanote-bin) (鎺ㄨ崘, 鍥犱负涓烘渶鏂扮増鏈) -### 3.2. 安装 MongodbDB +### 3.2. 瀹夎 MongodbDB -Leanote是由golang(使用[revel](https://revel.github.io/)框架 和 [MongoDB](https://www.mongodb.org)数据库), 你需要先安装Mongodb. +Leanote鏄敱golang(浣跨敤[revel](https://revel.github.io/)妗嗘灦 鍜 [MongoDB](https://www.mongodb.org)鏁版嵁搴), 浣犻渶瑕佸厛瀹夎Mongodb. -安装MongodbDB, 导入数据更多细节请查看: [wiki](https://github.com/leanote/leanote/wiki/Install-Mongodb) +瀹夎MongodbDB, 瀵煎叆鏁版嵁鏇村缁嗚妭璇锋煡鐪: [wiki](https://github.com/leanote/leanote/wiki/Install-Mongodb) -### 3.3. 导入初始数据 +### 3.3. 瀵煎叆鍒濆鏁版嵁 -MongodbDB初始数据在 `[PATH_TO_LEANOTE]/mongodb_backup/leanote_install_data` +MongodbDB鍒濆鏁版嵁鍦 `[PATH_TO_LEANOTE]/mongodb_backup/leanote_install_data` ``` $> mongorestore -h localhost -d leanote --directoryperdb PATH_TO_LEANOTE/mongodb_backup/leanote_install_data ``` -初始数据包含两个用户: +鍒濆鏁版嵁鍖呭惈涓や釜鐢ㄦ埛: ``` -user2 username: admin, password: abc123 (管理员, 重要!) -user3 username: demo@leanote.com, password: demo@leanote.com (为体验使用) +user2 username: admin, password: abc123 (绠$悊鍛, 閲嶈!) +user3 username: demo@leanote.com, password: demo@leanote.com (涓轰綋楠屼娇鐢) ``` -### 3.4. 配置 +### 3.4. 閰嶇疆 -修改 `[PATH_TO_LEANOTE]/conf/app.conf`. 有以下选项: +淇敼 `[PATH_TO_LEANOTE]/conf/app.conf`. 鏈変互涓嬮夐」: -``mongodb`` **必须配置!** +``mongodb`` **蹇呴』閰嶇疆!** ```Shell db.host=localhost @@ -71,42 +71,42 @@ db.username= db.password= ``` -``app.secret`` **重要** -请随意修改一个, app的密钥, 不能使用默认的, 不然会有安全问题 +``app.secret`` **閲嶈** +璇烽殢鎰忎慨鏀逛竴涓, app鐨勫瘑閽, 涓嶈兘浣跨敤榛樿鐨, 涓嶇劧浼氭湁瀹夊叏闂 -更多配置请查看 `app/app.conf` 和 [revel 手册](https://revel.github.io/) +鏇村閰嶇疆璇锋煡鐪 `app/app.conf` 鍜 [revel 鎵嬪唽](https://revel.github.io/) -### 3.5. 运行leanote +### 3.5. 杩愯leanote ``` $> cd PATH_TO_LEANOTE/bin $> sudo sh run.sh ``` -## 4. 如何对leanote进行二次开发 +## 4. 濡備綍瀵筶eanote杩涜浜屾寮鍙 -请查看 [How-to-develop-leanote](https://github.com/leanote/leanote/wiki/How-to-develop-leanote-%E5%A6%82%E4%BD%95%E5%BC%80%E5%8F%91leanote) +璇锋煡鐪 [How-to-develop-leanote](https://github.com/leanote/leanote/wiki/How-to-develop-leanote-%E5%A6%82%E4%BD%95%E5%BC%80%E5%8F%91leanote) -## 5. 贡献者 -多谢 [贡献者](https://github.com/leanote/leanote/graphs/contributors) 的贡献, leanote因有你们而更完美! +## 5. 璐$尞鑰 +澶氳阿 [璐$尞鑰匽(https://github.com/leanote/leanote/graphs/contributors) 鐨勮础鐚, leanote鍥犳湁浣犱滑鑰屾洿瀹岀編! -## 6. 加入我们 +## 6. 鍔犲叆鎴戜滑 -欢迎提交[pull requests](https://github.com/leanote/leanote/pulls) 到leanote. +娆㈣繋鎻愪氦[pull requests](https://github.com/leanote/leanote/pulls) 鍒發eanote. -leanote还有很多问题, 如果你喜欢它, 欢迎加入我们一起完善leanote. +leanote杩樻湁寰堝闂, 濡傛灉浣犲枩娆㈠畠, 娆㈣繋鍔犲叆鎴戜滑涓璧峰畬鍠刲eanote. -## 相关文档 -* [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) -* [leanote开发版详细安装教程](https://github.com/leanote/leanote/wiki/leanote%E5%BC%80%E5%8F%91%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B) -* [Leanote source leanote源码导读](https://github.com/leanote/leanote/wiki/Leanote-source-leanote源码导读) -* [leanote blog theme api(中文版)](https://github.com/leanote/leanote/wiki/leanote-blog-theme-api) -* [How to develop leanote 如何开发leanote](https://github.com/leanote/leanote/wiki/How-to-develop-leanote-如何开发leanote) +## 鐩稿叧鏂囨。 +* [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) +* [leanote寮鍙戠増璇︾粏瀹夎鏁欑▼](https://github.com/leanote/leanote/wiki/leanote%E5%BC%80%E5%8F%91%E7%89%88%E8%AF%A6%E7%BB%86%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B) +* [Leanote source leanote婧愮爜瀵艰](https://github.com/leanote/leanote/wiki/Leanote-source-leanote婧愮爜瀵艰) +* [leanote blog theme api(涓枃鐗)](https://github.com/leanote/leanote/wiki/leanote-blog-theme-api) +* [How to develop leanote 濡備綍寮鍙憀eanote](https://github.com/leanote/leanote/wiki/How-to-develop-leanote-濡備綍寮鍙憀eanote) -## 讨论 -* [leanote 社区](http://bbs.leanote.com) -* QQ群: 158716820 +## 璁ㄨ +* [leanote 绀惧尯](http://bbs.leanote.com) +* QQ缇: 158716820 * [leanote google group](https://groups.google.com/forum/#!forum/leanote) ----------------------------------------------------------------