Skip to content

Instantly share code, notes, and snippets.

@harshulj
Last active March 3, 2017 04:08
Show Gist options
  • Save harshulj/0a07ab77e466ee1ca04db66a07707f31 to your computer and use it in GitHub Desktop.
Save harshulj/0a07ab77e466ee1ca04db66a07707f31 to your computer and use it in GitHub Desktop.

Revisions

  1. harshulj renamed this gist Mar 3, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. harshulj renamed this gist Mar 3, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. harshulj created this gist Mar 3, 2017.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    #Create a directory to hold the application. Lets call the application rail

    $ mkdir rail
    $ cd rail

    # Now we’ll initialise a npm project. Use the following command for initialising. This command will create package.json file in the directory which will hold information about rail package and its dependency and meta data.
    $ npm init

    # Next task is to install express for this project. Don’t forget to use — save which adds Express as a dependency in package.json.
    $ npm install express — save