Full-Stack Web Development with Vue.js and Node

(singke) #1
Introducing MEVN Chapter 1

To learn more about the vocabulary used in GitHub, visit https:/​/​help.
github.​com/​articles/​github-​glossary/​.

Setting up a GitHub repository


Now that we know the basics of GitHub, let's get started creating a GitHub repository for
the project we want to build:



  1. First, create a folder for the application in the root folder. Let's name this
    application blog:


$ mkdir blog


  1. Create an account on GitHub at https:/​/​github.​com/​.

  2. Go to your profile. Under the Repositories tab, click New as follows:

  3. Name this repository blog.

  4. Now, on the Terminal, go to the location of this application and initialize an
    empty repository with this command:


$ cd blog
$ git init


  1. Now, let's create a file called README.md and write a description for the
    application and then save it:


$ echo 'Blog' > README.md


  1. Add this file to GitHub:


$ git add README.md
Free download pdf