mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 06:24:52 +03:00
Removing ignored files
This commit is contained in:
parent
cc74e5ec74
commit
a0ad76d988
|
@ -1,27 +0,0 @@
|
|||
echo 'Creating Database {{cookiecutter.project_slug}}:'
|
||||
sudo -u postgres psql --command 'CREATE DATABASE {{cookiecutter.project_slug}};'
|
||||
|
||||
echo
|
||||
|
||||
echo 'Creating DB user {{cookiecutter.project_slug}}_user with password {{cookiecutter.database_user_password}}'
|
||||
sudo -u postgres psql --command 'CREATE USER {{cookiecutter.project_slug}}_user WITH PASSWORD '\'{{cookiecutter.database_user_password}}\';
|
||||
|
||||
echo
|
||||
|
||||
echo 'Altering role to utf8'
|
||||
sudo -u postgres psql --command 'ALTER ROLE {{cookiecutter.project_slug}}_user SET client_encoding TO '\'utf8\';
|
||||
|
||||
echo
|
||||
|
||||
echo 'setting default_transaction_isolation TO read committed'
|
||||
sudo -u postgres psql --command 'ALTER ROLE {{cookiecutter.project_slug}}_user SET default_transaction_isolation TO '\'read\ committed\';
|
||||
|
||||
echo
|
||||
|
||||
echo 'setting timezone to {{cookiecutter.timezone}}'
|
||||
sudo -u postgres psql --command 'ALTER ROLE {{cookiecutter.project_slug}}_user SET timezone TO '\'{{cookiecutter.timezone}}\';
|
||||
|
||||
echo
|
||||
|
||||
echo 'Granting all privileges on Database {{cookiecutter.project_slug}} to {{cookiecutter.project_slug}}_user;'
|
||||
sudo -u postgres psql --command 'GRANT ALL PRIVILEGES ON DATABASE {{cookiecutter.project_slug}} TO {{cookiecutter.project_slug}}_user;'
|
|
@ -1,4 +0,0 @@
|
|||
git rm -r --cached .
|
||||
git add -A
|
||||
git commit -am 'Removing ignored files'
|
||||
git push
|
|
@ -1,5 +0,0 @@
|
|||
git init
|
||||
git add .
|
||||
git commit -m "first {{cookiecutter.project_slug}} commit"
|
||||
git remote add origin git@bitbucket.org:myvault/{{cookiecutter.project_slug}}.git
|
||||
git push -u origin master
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
virtualenv -p python3 ../../venv/{{cookiecutter.venv_name}}
|
Loading…
Reference in New Issue
Block a user