Advertisement
Uno-Dan

Untitled

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