Skip to content

moctis/BookTime

Repository files navigation

BookTime

Read List

  1. Git Workflows
  2. Google Cloud - Mobile Backend
  3. Setup PhoneGap on Windows
  4. Github Markdown Cheatsheet
  5. onsenui.io
  6. Onsen UI and PhoneGap – Getting Started
  7. MEAN.JS;
  8. MEAN.io vs MEAN.JS
  9. Mobile Apps with Phonegap and Yeoman

Step by Step build

After run setx command, it need to restart cmd.exe

  1. Install wget-1.11.4-1-setup.exe
  • setx path "%path%;%ProgramFiles(x86)%\GnuWin32\bin"
  1. Install node.js from nodejs.org (use default settings).
  • wget http://nodejs.org/dist/v0.10.29/x64/node-v0.10.29-x64.msi
  • start node-v0.10.29-x64.msi
  1. Install npm from nodejs.org .
  • wget http://nodejs.org/dist/npm/npm-1.4.12.zip
  • Extrace to node.js install path %ProgramFiles(x86)%/nodejs
  • setx path "%path%;%appdata%\npm"
  • npm version
  1. Install ant
  • npm install -g ant
  • setx path "%path%;%appdata%\npm\node_modules\ant\ant\bin"
  • ant -version
  1. Install PhoneGap
  • npm install -g phonegap
  • phonegap --version will show help
  1. Install Cordova
  • npm install –g cordova
  • cordova --version will show help
  1. Install Android SDK
  • Get the Android SDK
  • setx ANDROID_HOME "<installation location>\android-sdk-windows"
  • setx PATH "%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools"
  • android -h
  1. Instan MongoDB
  1. Clone 'BookTime' from github
  1. Install MongoDB
  1. Install Grunt
  • npm install -g grunt-cli
  • run grunt => Drive:\GitHub\BookTime\MEAN>grunt แล้วเปิด http://localhost:3003/ ที่ browser
  • คำสั่ง grunt copy จะ copy จาก MEAN\public ไป phonegap\web
  • ถ้ารัน host ด้วย grunt ไว้ ทันทีที่มีไฟล์ถูกแก้ไข ภายใต้ MEAN\public มันก็จะรัน grunt copy ให้ อัตโนมัติ
  1. Run
  • moc mongo
  • D:\GitHub\BookTime\MEAN>grunt
  • moc phonegap serve
  1. ระวังเข้า Git
  • MongoDB
  • node-module
  1. css ใช้ Ionic เป็นหลัก
  • ng => angular
  • แก้ ss ที่ mean/public/module/core/css
  • ดู rount ทุกอัน /config เช่น ..modules/font/config
  • ดู css ทุกอัน /config เช่น ..modules/font/css
  • ไฟล์รูป D:\GitHub\BookTime\MEAN\public\res\screen\share\2x
  1. Angular-carousel
  1. etc
  1. image manipulation

-http://blog.credera.com/technology-insights/microsoft-solutions/modern-web-development-best-practices-powered-grunt-js-part-2-diving/

About

BookTime

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages