first commit
This commit is contained in:
commit
b347acbfd1
5 changed files with 209 additions and 0 deletions
11
hooks/post_gen_project.py
Normal file
11
hooks/post_gen_project.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import subprocess
|
||||
|
||||
subprocess.call(["git", "init"])
|
||||
subprocess.call(["git", "add", "*"])
|
||||
subprocess.call(["git", "commit", "-m", "Initial commit"])
|
||||
subprocess.call(["git", "config", "user.name", "{{ cookiecutter.git_user }}"])
|
||||
subprocess.call(["git", "config", "user.email", "{{ cookiecutter.email }}"])
|
||||
subprocess.call(["git", "remote", "add", "origin", "{{ cookiecutter.git_ogirin }}"])
|
||||
subprocess.call(["git", "branch", "-u", "origin/master"])
|
||||
|
||||
subprocess.call(["python", "-m", "venv", "venv"])
|
Loading…
Add table
Add a link
Reference in a new issue