Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # The following 3 steps must be done for this script to work correctly.
- # 1. Your "public SSH key" must be pushed to github.
- # https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
- # 2. Create a git repository for the project.
- # https://help.github.com/articles/create-a-repo/
- # 3. Assign the repository name to the project varible, in the script below.
- project=tkmvc
- pip list | grep cookiecutter || sudo pip install cookiecutter &&
- cookiecutter gh:unodan/cookiecutter-pypackage &&
- cd $project &&
- python3.6 -m venv venv/ &&
- source venv/bin/activate &&
- pip install --upgrade pip setuptools wheel twine tox click &&
- git init &&
- git add . &&
- git commit -m "initial commit" &&
- git remote add origin git@github.com:unodan/$project.git &&
- git push -u origin master &&
- echo Success!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement