Run the script on your terminal and initialize a new project with a readme locally in /Documents/MyProjects and remotely on your GitHub account create a new repository with the same name (using GitHub API) then push first commit (README).
git clone https://github.com/Renc17/Project_Automation.git
cd Project_Automation
install requirements below
Inside your cloned repo run :
pip install python-dotenv
python -m pip install requests
- Create a Personal Token on your GitHub account
- Create a .env file in your cloned repo
- Add your personal token as:
PERSONAL_ACCESS_TOKEN=Your-Personal-Token
- Run
./init-project.sh <your project name>