shijingjing1221 / nodedemo

A good sample project with node,angular,grunt,requirejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Development

  1. Setup accessproxy.
  2. In a terminal start the proxy with accessproxy
  3. In another terminal navigate to your apps directory and run the following commands
  • npm install && bower install
  • Start the project by either way
  1. (Optional) Enable livereload, only for grunt serve --gruntfile Gruntfile_dev.js

    Install the livereload extension in Chrome extension market. Open the http://localhost:9000/labs/nodedemo, and click the icon of livereload extension. Then when you change the code, the web page is auto refresh. Refer to the following snapshot.

    Open the extension marget page:

    alt tag

    Search livereload and check the details:

    alt tag

    After installation, you will see livereload icon:

    alt tag

    Open http://localhost:9000/labs/nodedemo, click the livereload icon to enable it: alt tag

    Then when you change the code, the web page is auto refresh.

About

A good sample project with node,angular,grunt,requirejs

License:Apache License 2.0


Languages

Language:HTML 66.4%Language:JavaScript 31.9%Language:Shell 1.0%Language:CSS 0.7%