GithubHelp home page GithubHelp logo

twb's Introduction

TWB

To set up the app:

  • To create the web application, there are a few external libraries which are necessary.
  • Download Git Bash (http://git-scm.com/downloads). Open the Git Bash then download repository to the specified folder in your local machine via clone URL by typing 'git clone "url"'. The URL is provided on right hand side of this window.
  • In Git Bash, go to project, type "cd TWB". You will be on master mode. Type "npm install -g bower" and type "npm install grunt" to install bower and grunt. Bower will help pulling dependencies that are written in bower.json. Then type "npm install" to install the dependencies. It will look the dependendies in the package.json file. You should now see node_modules folder under TWB. In node_module folder, you will see the devDependencies that are written in package.json.
  • Later, type "bower install". The bower_components folder will be created with the dependent packages written in bower.json.
  • To see the app in Chrome, install http-server by typing "npm install http-server -g" in bash. Then go to Chrome and type http://localhost:8080/src

Information about tools (no need for pulling dependencies or etc)

Node.js: Java Script for server-side.

  • npm install packages (grunt, bower etc)
  • Node.js command line should be installed. In order to install packages go: https://nodejs.org/
  • If you want to add a library, such angularjs, bootstrap etc, to the project, the packages should be installed to project folder. To find package, try here: https://www.npmjs.com/
  • Type "npm install -g package name"

Bower: Bower is needed to distrubute the application. In bower.json folder, all the dependencies can be found. Therefore, contribitors do not need to re-install each packages all the time. Bower: http://bower.io/

  • Package manager for the web.
  • Pulls down the necessary libraries
  • Type npm install in git bash. This will create the node_modules folder.
  • To pull down a package with bower, type "bower install package name". For example, "bower install angularjs".
  • The package(s) will be installed to the bower_components folder.
  • To check the installed packages, type "bower list".
  • Type "bower init" to initialize.
  • To uninstall a package, type "bower uninstall package name".

Grunt

  • Type "npm install grunt" in git bash.
  • In order to get started, you need Grunt's command line interface. It will put grunt command in your system path.
  • In Bash, type "npm install -g grunt-cli".
  • CLI loads the local installation of the Grunt library, applies configuration from the GruntFile.
  • For more information: http://gruntjs.com/getting-started
  • GruntFile.js install grunt plugins and configure-define tasks.

twb's People

Contributors

cugo avatar

Watchers

James Cloos 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.