GithubHelp home page GithubHelp logo

iq-scm / homesite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erealmsoft/homesite

0.0 0.0 0.0 9.74 MB

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

Home Page: http://www.erealmsoft.com

Shell 0.28% JavaScript 64.21% CSS 11.78% HTML 23.72%

homesite's Introduction

alt ereaml

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.
  • Unsing passport to setup the auth model.
  • Integrate with MongoDB using mongoose.
  • Integrate with tumblr.js
  • Responsive Design.
  • Dashboard: DB backup, Restore DB, Build and publish site, logs view.

Setting up the application

  • Install all modules
npm install pm2 -g
npm install grunt -g
npm install grunt-cli -g
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='[email protected]' GMAIL_PASS='your mail password' BLOG_KEY='tumblr key' pm2 start app.js
  • or publish the application using bash script
sudo ./build.sh '[email protected]' 'your mail password' 'tumblr key'

or create a file named custom.js in config folder and override the default config.

Documents

Update Notes

  • November 20, 2014: Update express.js(from express3 to express4)
  • November 22, 2014: change back-end view engine(from hbs to swig);add back-end mock data. by default, no need to setup the data base, just set the config.mock to true.
  • November 23, 2014: Change Contact map from Google map to Baidu map.
  • January 24, 2015: add dashboard, add auth model.
  • March 16, 2015: material design.

TODO List

  • Unit test.

homesite's People

Contributors

dangjian avatar e2tox avatar xuedong369 avatar

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.