Code Monkey home page Code Monkey logo

keanux-personal's Introduction

Keanux-Personal

Join the chat at https://gitter.im/Keanux/Keanux-Public Build Status Code Climate

這是一個一起學習 Node.js 和 React 的計畫,透過一起實作,製作個人的開源寫作平台。

功能

目前僅提供顯示範例頁面,編寫及其他功能的部分正在開發,有任何錯誤或功能上的想法都歡迎在 Issue 留言。

環境安裝

參考安裝說明或是使用 Keanux-Vagrant

快速開始

將專案 clone 至本機

$ git clone [email protected]:Keanux/keanux-personal.git

啟動 Mongo DB 環境

$ mongod --dbpath <資料庫存放位置>

準備好 node.js 環境,打開 Terminal 進入專案資料夾,使用以下指令安裝依賴套件並建立測試資料庫

$ npm install
$ npm run-script seed
$ npm run-script start

開啟瀏覽器輸入 http://localhost:8080

測試程式

測試Server端程式碼

$ gulp mocha

測試Client端程式碼

$ gulp karma

測試網站功能 (自動化測試)

$ ./node_modules/protractor/bin/webdriver-manager update
$ npm start
// 開啟另外一個視窗
$ gulp e2e

執行所有測試

$ npm test

更新到最新版本

新增遠端 Repo 網址 upstream,此名稱可以任意修改

$ git remote add upstream https://github.com/Keanux/keanux-personal.git

更新遠端最新程式碼(用 merge 方式)

$ git pull upstream master

更新遠端最新程式碼(用 rebase 方式)

$ git pull --rebase upstream master

Copyright & License

Copyright (c) 2015 Keanux - Released under the MIT license.

keanux-personal's People

Contributors

appleboy avatar dca avatar ghosttw avatar gitter-badger avatar jhen0409 avatar kirkchen avatar wisely0515 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keanux-personal's Issues

Redefind promise causing jshint error

由於在./data/seed.js中使用了bluebird的promise來進行非同步,
導致JsHint跳出錯誤提示 (#49),警告我們複寫了Global的Promise,
在暫時不升為ES6的考量下 (為了降低教學門檻),
是否有較好的解決方法?

參考 @dca 的建議,解決方案如下
a. 改名
b. 替換 es6 內建的 global.Promise
c. (區域or全域)忽略 redefine 問題

@appleboy @keanyc 有其他的建議嗎?

not working correctly

case sensitive for "PostBox" and "React":
Error: Cannot find module './components/post/PostBox' from '/home/projects/keanux-personal/app'
Error: Cannot find module 'React' from '/home/projects/keanux-personal/app/components/post'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.