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:
- First, create a folder for the application in the root folder. Let's name this
application blog:
$ mkdir blog
- Create an account on GitHub at https://github.com/.
- Go to your profile. Under the Repositories tab, click New as follows:
- Name this repository blog.
- Now, on the Terminal, go to the location of this application and initialize an
empty repository with this command:
$ cd blog
$ git init
- Now, let's create a file called README.md and write a description for the
application and then save it:
$ echo 'Blog' > README.md
- Add this file to GitHub:
$ git add README.md