frankofil / Project-Init-Automation

This software automate a process of creating GitHub repository, local git repository, connecting to master branch and creating .gitignore and README.md files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Init Automation

Before you download

This program uses your GitHub token to communicate via API, so if you don't remember your token and don't want to generate a new one, you won't be able to run this program.

How to install and setup?

Firstly clone repository to your computer

git clone https://github.com/frankofil/Project-Init-Automation.git

Go to downloaded folder and install additional packages

pip install -r requirements.txt

Create .env file in downloaded folder and store there your GitHub token as well as path to folder where you want all of you future projects to be stored. Your .env file must follow exact same layout as example below

TOKEN = "Here_Paste_Your_GitHub_Token"
FILEPATH="/path/to/your/projects"

The same FILEPATH add in create.bat file

cd "/path/to/your/projects"

Finally add downloaded folder to the PATH to enable usage of 'create' command anywhere in Command Prompt

How to use this program?

To run the script type in

create name-of-your-repository

This command will create private repository (by default), if you want it to be public use a flag

create name-of-your-repository -public

Project inspired by Kalle Hallden

About

This software automate a process of creating GitHub repository, local git repository, connecting to master branch and creating .gitignore and README.md files.


Languages

Language:Python 85.9%Language:Batchfile 14.1%