Keeping track of my daily life has been harder and harder each day. With the world being turned upside down with all that is happening, I needed a way to log what has been going on. That is why I decided to create a blog! I will be blogging just about everything mostly about coding, adventures, or something that happened and I just wanted to share with everyone. Hopefully you would enjoy my wacky adventures as much as I do. See you around!
- Command-line of your choice e.g. Windows Command-line or Gitbash, or Apple's Terminal.
- An code editor or Integrated development environment (IDE) of your choice. I recommend Visual Studio Code.
- Once those are installed, you are ready to move on!
- Visit the repo.
- Click on the green code button
- Copy the link by clicking one the clipboard icon.
- With the code copied in your clipboard, go to your command-line and type in git clonewithout hitting enter paste in the link. (Quick tip: command-line is control insert to paste, not control v) It should look something like this: git clone https://github.com/Ericcwong/Blog.
- Now that you have the repo cloned to your local machine. Now it is time to open it and run it!
- Type in cd (change directory) to the repo's name in this case blog and hit enter.
- Once you are in, type in code . and that should open up Visual Studio Code if you have it installed.
- You are almost there to start the project! On the top left hand where it says file, edit and so on. Click on Terminal and click on new terminal.
- Type in npm install that would install all the requirements needed for this project
- Lastly to start the project type in npm run dev and it should popup with http://localhost:8080/
- Click on that link and you are ready to test out the application locally on your machine!