Last year was the first time I participated in Hacktoberfest, I made more than five contributions and I was very happy. This year I not only want to contribute, so I created this repository with something basic to grow and be a super project.
Use this project to make your first contribution to an open source project on GitHub. Practice making your first pull request to a public repository before doing the real thing!
Celebrate Hacktoberfest by getting involved in the open source community by completing some simple tasks in this project.
This repository is open to all members of the GitHub community. Any member may contribute to this project without being a collaborator.
A month-long celebration from October sponsored by Digital Ocean and GitHub to get people involved in Open Source. Create your very first pull request to any public repository on GitHub and contribute to the open source developer community.
https://hacktoberfest.digitalocean.com/
Here are 3 quick and painless ways to contribute to this project, You do not need to be an expert in Angular 😊 :
- Add your name to the
CONTRIBUTORS.md
file - Add a snippet code or a simple "Hello, world" using Carbon
- Or add improve to the page.
Choose one or all 3, make a pull request for your work and wait for it to be merged!
- Fork this repository branch
master
(Click the Fork button in the top right of this page, click your Profile Image) - Clone your fork down to your local machine
git clone https://github.com/cTahirih/code-tidbits.git
- Create a branch
git checkout -b branch-name
- Make your changes (choose from any task below)
- Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
- Create a new pull request in branch
master
from your forked repository (Click theNew Pull Request
button located at the top of your repo) - Wait for your PR review and merge approval!
- Star this repository ⭐ if you had fun!
Add your name to the CONTRIBUTORS.md
file using the below convention:
#### Name: [YOUR NAME](GitHub link)
- Place: City, State, Country
- Bio: Who are you?
- GitHub: [GitHub account name](GitHub link)
- Add a simple snippet code using Carbon, then you export your code in image type png.
- Save your image in folder
assets/images
using the patternlanguage_code
(language of your code snippet). - In a file
src/app/home/data-codetidbits.ts
add your image and data using the example as a guide, and that's all.
You can improve to the page, adding routing, a search bar, etc.
After cloning the repository and starting the project, you will need to have Node, npm, Angular CLI installed. If you already have it ready, you just need to go to the folder and install the packages.
- Run this command to install dependencies, in your console:
npm install
- Start project using this command:
ng serve --open
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng test
to execute the unit tests via Karma.