ProjectInitializationAutomation
ProjectInitializationAutomation copied to clipboard
On the bash function it may be necessary to use python3
I am modifying the project to add a new file according to the user extension given in a second argument in the bash command. After setting all up my code cannot run and keep giving errors. In my case, I need to use python3
instead of python
because I have Python 3. I would like to see this hint added to the README.md because it can be useful for troubleshooting on the installation.
The modified code in the bash command is:
function create() {
source .env
python3 create.py $1 $2
git init
git remote add origin [email protected]:$USERNAME/$1.git
touch README.md
touch main$2
git add .
git commit -m "Initial commit"
git push -u origin master
code .
}
I have created a same script as this to work on every machine
DO NOT WORRY THIS SCRIPT WORKS ON EVERY MACHINE
Link to the project: https://github.com/String-error-404/GIT-and-GTITHUB_automation
if you like the project give a star to the repo and follow me on github