Skip to content

This script automatically creates a project for you :)

Notifications You must be signed in to change notification settings

aatharvauti/mkproj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkproj


Goal: Automate Making Projects using Python & Shell

What do I mean when I wanna start a Project?

Simple Answer:

  • Create a New Directory
  • Add README and .gitignore (Depending on the Project)
  • Do some magic using GitHub
  • code . (mostly)

Technical Answer (and EL Plan):

  • Help Menu
  • Argument Parser will play a key role: DESIGN THE PROGRAM
  • Navigate to $HOME/code (This is my projects folder)
  • mkdir $NAME && cd $NAME
  • touch README.md && echo "# ${NAME}" >> README.md
  • wget "bunch,of,arguments,again,depends,on,the,project"
  • Web Scraping using Selenium to Create a GitHub Repository
  • git init
  • git remote add origin [email protected]:username/{$1}.git
  • git branch -m main
  • git add .
  • git commit -m "initial commit"
  • git push -u origin main
  • code .

Installation


Requirements:

  • Install python packages

      python3 -m pip install -r requirements.txt
    
  • wget tool

  • Firefox Web Driver

  • idk if anything else, open an issue if something's missing :)


Installation Steps:

cd $HOME
git clone https://github.com/aatharvauti/mkproj.git
cd mkproj
chmod +x mkproj
export PATH="$PATH:$HOME/mkproj"
vim mkproj # set USERNAME (one time)
touch .env

.env file contents

USERNAME="yourgithubusername"
PASSWORD="yourgithubpassword"

About

This script automatically creates a project for you :)

Topics

Resources

Stars

Watchers

Forks