arminrush / HomeSite

This is the source code of home page for Erealm Info & Tech

Home Page:http://www.erealm.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt ereaml

eRealm Info & Tech Build Status

Codeship Status for erealm/HomeSite

Notes and information

Public Modules We used.

  • Setup the web site base on Node.js and Express.
  • Using Bower to manage front-end library.
  • Using Grunt to integrate the web site: compress and merge code, compress image, check code quality using jsLint.
  • Using AngularJS to control front-end code structure.
  • Using Bootstrap to setup UI.
  • Using winston as Logger
  • Using Nodemailer to send the mail.
  • Using handlebars as the server template engine.
  • Integrate with MongoDB.
  • Integrate with tumblr.js
  • Responsive Design.

Setting up the application

  • Install all modules
npm install
  • Before Checkin code: manage front-end library and compress images.
grunt prepare
  • Debug and run application: check code quality.
grunt
  • Publish the application: merge and compress JavaScript and CSS, Clean unused code, start up the application using forever.
grunt build
sudo GMAIL_USER='name@yourdomain.com' GMAIL_PASS='your mail password' BLOG_KEY='tumblr key' forever start app.js
  • or publish the application using bash script
sudo ./build.sh 'name@yourdomain.com' 'your mail password' 'tumblr key'

TODO List

  • Unit test.
  • Dash board.

About

This is the source code of home page for Erealm Info & Tech

http://www.erealm.cn