How to create simple automation for starting a new project

Ravali Peddi
2 min readNov 30, 2020

Usually when I am starting a new project, I find myself doing lot of steps repeatedly for every project.

  1. Open my terminal
  2. Navigate to the directory where I usually keep my projects. Make a new folder for the project. Go into that folder

3. Create a README.md file.

4. Initialize an empty GIT repository

5. Then go to Github and create new repository with same project name

6. Copy and run the above command in the terminal in project directory

7. Commit the README.md file as initial commit

8. And Finally push the commit to remote on master branch

So, to automate all the above steps, the shell script looks like:

Using python script to login to your git account, create repository

Clone this repository for the source code:

All you need to do is, clone the repo, cd into it. Add you filepath, github credentials in .env file and save it.
Run create <Your_project_name>. And Boom..! you are ready to rock with your new project folder also with a git repository

--

--