Subhangini / Hackotberfest-PyladiesTNR-2021

PyladiesTNR x Hacktoberfest

Home Page:https://pyladiestnr-hacktober.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Announcement: Happy Hacktoberfest 2020!! We need some help translating this `README.md into Malagasy 🇲🇬 and French 🇫🇷, if you are interested submit your PR and we will review it! Also, if you want to improve it - you are highly welcomed! For the Malagasy translation, edit the file: README_MG. For the French, edit this: README_FR

Introduction

Get Started

Make sure you have git installed in you machine, Git Installation Setup here.

1. Fork This Repository

Fork this repository by clicking the "Fork" button on top of this section. A copy of this repository will be created in your personal profile.

2. Clone This Repository

Clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.

Open your machine's terminal and run the following command:

git clone "url of forked repository"

For example:

git clone "https://github.com/PyladiesTNR/Hackotberfest-PyladiesTNR-2020.git"

Here, a copy of this repository will appear in your local machine.

3. Create A Branch

Go to the repository containing the cloned repository in your machine (unless you are already there):

cd Hacktoberfest-PyladiesTNR-2020

After, create a branch with git checkout command:

git checkout -b your-new-branch-name

For example:

git checkout -b add-yourname-info

Now you have created a new branch where you can implement new features or fix pre-exixting ones.

4. Make Changes & Commit

To add your card-name in the home page, with your prefered editor, edit the file: static/contributors.json. Add your information same as in the file, put them at the bottom of the list. [N.B: Do not forget the comma before adding your key/value pair]

Pour ajouter une carte dans la page d'accueil, ajoutez les mêmes informations que vous voyez dans le fichier. Mettez les tout en bas.
[N.B. : N'oubliez pas la virgule avant d'ajouter votre configuration]. color options: Blue or Pink

vim contributors.json

After all the necessary changes are done, if you execute the command git status, you will see all of them.

Add those changes using the git add command:

git add contributors.json

Then, commit those changes using the git commit command:

git commit -m "Add <your-name> to the Information cards"

Do not forget to replace <your-name> by your name.

5. Wanna see your changes locally?

To see the changes that you have done, on your machine, run these commands:

python3 -m venv .env
source .env/bin/activate
pip3 install -r requirements.txt
python3 app.py

To check the version of your python and pip installed on your machine. Do those commands:

  • on a Windows, linux or mac osx terminal
python --version
pip --version

if you don't have them installed on your machine. you can do the setup by following those link:

By default, your changes should be visible on this url : http://127.0.0.1:5000

6. Push Changes

Do this command on your branch, to enable pushing over ssh:

git remote set-url origin ssh://git@github.com/PyladiesTNR/Hackotberfest-PyladiesTNR-2020.git

Push your changes using the command git push:

git push -u origin <add-your-branch-name>

Do not forget to replace <add-your-branch-name> with the name of the your newly created branch.

7. Submit Your PR

If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button. Give a descriptive title to your pull request and in the description, dont forget to mention the issue it closes. For example, if your PR solve issue #123, mention in your PR's description

resolves #123

Finally, submit the pull request!.

NB: Your PR Will be reviewed and merged. Once, it will be merged, you will receive a notification by email.

8. Next Steps

Congrats you finally did it! Now, you can go ahead and find other repositories where you can start contributing.

License

MIT LICENSE

Contributors List


reach us on:

About

PyladiesTNR x Hacktoberfest

https://pyladiestnr-hacktober.herokuapp.com/

License:MIT License


Languages

Language:HTML 50.2%Language:CSS 45.8%Language:Python 4.0%