Welcome to the beginner's guide to #semanticClimate.
Starting an internship with us is a great way to help fight climate change.
Interns are at the core of our work. They commit to work in our program and in return create great value for the world and also learn a great set of transferable skills.
The internship duration varies from 12 weeks to 6 months. It can be online as well as offline.
The Program
You will be required to install and alpha test the semanticClimate toolkits. These tools will be used to do analysis of climate reports.
Cloning amilib repository from github and running pytest from commandline/terminal
Step 1: open the terminal.
Step 2: Make directory where you want to save the repository.
Step 3: Go to that directory with cd
Step 4: Clone the repository with this git clone https://github.com/petermr/amilib.git
Step 5: Go to the specific directory with cd amilib
Step 6: Check the branch for running the test and then checkout to that branch git checkout [branch name]
Step 7: Do git pull for fetching all the changes made remotely to the local repository.
Step 8: Run all the test with pytest
Step 9: Report the errors if any to the amilib repository in the issue section.
PHASE 2: PROGRESSING
Follow the similar steps mentioned for amilib for cloning and running pytest for amiclimate repository.
PHASE 3: LEARNING git COMMANDS
Here are some essential git commands along with descriptions of their functionalities:
git clonerepository URL
Copies an existing repository from a remote server to your local machine. The repository URL can be an HTTP(s) URL or an SSH URL.
git status
Displays the state of the working directory and the staging area. It shows which changes have been staged, which haven’t, and which files aren’t being tracked by Git.
git addfile
Adds the specified file to the staging area, making it ready to be committed. You can also use git add . to stage all changes in the current directory.
git commit -m "message"
Records the changes in the staging area to the repository with a descriptive commit message.
git pushremotebranch
Uploads local branch commits to the remote repository branch. For example, git push origin main pushes changes to the main branch of the remote repository named origin.
git pullremotebranch
Fetches and integrates changes from the remote repository to your local working directory. This command is a combination of git fetch and git merge.
git branch
Lists all the branches in your repository. Adding an argument like git branch [branch-name] creates a new branch.
git checkoutbranch name
Switches to the specified branch.
git stash
Temporarily shelves (or "stashes") changes in the working directory that are not ready to be committed. Use git stash pop to reapply the stashed changes later.