Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # 1. Make sure "cookiecutter" is installed before running this script.
- # 2. Your "public SSH key" must be pushed to github before running this script.
- # 3. Create a git repository for the project.
- # 4. 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!
Add Comment
Please, Sign In to add comment