Start our first project, Hello World! To practice our very basic skills on modern web development.
- Use UNIX-based OS (Linux or macOS)
- Use code editor
- Use terminal
- Use Git and GitHub
- Use Markdown
- Use HTML
- Ask questions and discuss in group
- Relax your mind
- Use a recommended OS
- Open your terminal/shell based on your OS
- Install tools with your OS package manager or setup installation: code editor and Git
- Configure Git with your name and email
git config --global user.name "Your Name"
git config --global user.email "yourname@website.com"- Navigate to your work folder
cd ~/documents- Create a new repository based on a new created folder
mkdir my-new-repo
cd my-new-repo
git init- Create a blank file, create some text, then save it
touch myfile.txt
# edit with any editor- Commit those changes
git add myfile.txt
git commit -m "Create myfile.txt"- Congrats! You just created a new Git repo
- Explore with various Git commands you know, or use
man gitto learn more
- Open your browser to GitHub and create an account
- Make sure to create your username easy to read. For example:
nikolatesla,thomasedison - Fork and clone the provided repository from our class repo
- Go to your class' repo: https://github.com/impactbyte-character/hello-world then click
Fork - Clone the forked GitHub repo from your own repo to your local computer
git clone https://github.com/yourname/hello-world- Navigate to the cloned repo
cd hello-world- Make some changes with
README.mdfile - Commit and push those changes
git add -A
git commit -m "Change some texts"- Update the README with Markdown file format in your code editor
- Tell a bit about what you want to create
- Create an initial HTML file
- Fill it up with proper HTML tags
- Create a header, content, and footer
- Create some good Git commit messages
- Push your changes to GitHub
git push origin master- Create a Pull Request on GitHub
- Tell that you have done this project in our Facebook Group
- The project review will be conducted on GitHub