Advertisement
Uno-Dan

Untitled

Sep 30th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # 1. Make sure "cookiecutter" is installed before running this script.
  4. # 2. Your "public SSH key" must be pushed to github before running this script.
  5. # 3. Create a git repository for the project.
  6. # 4. Assign the repository name to the project varible, in the script below.
  7.  
  8.  
  9. project=tkmvc
  10. pip list | grep cookiecutter || sudo pip install cookiecutter &&
  11. cookiecutter gh:unodan/cookiecutter-pypackage &&
  12. cd $project &&
  13. python3.6 -m venv venv/ &&
  14. source venv/bin/activate &&
  15. pip install --upgrade pip setuptools wheel twine tox click &&
  16. git init &&
  17. git add . &&
  18. git commit -m "initial commit" &&
  19. git remote add origin git@github.com:unodan/$project.git &&
  20. git push -u origin master &&
  21. echo Success!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement