mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-10 06:54:52 +03:00
cutter first edit 1.0
This commit is contained in:
parent
f4a5e97369
commit
325526f5f5
6
clear_db.sh
Executable file
6
clear_db.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
rm -rf db.sqli*
|
||||||
|
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
|
||||||
|
find . -path "*/migrations/*.pyc" -delete
|
||||||
|
. ./makemigrations.sh
|
||||||
|
. ./migrate.sh
|
||||||
|
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'Amman123')" | python manage.py shell
|
4
git_clean_cache.sh
Executable file
4
git_clean_cache.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
git rm -r --cached .
|
||||||
|
git add -A
|
||||||
|
git commit -am 'Removing ignored files'
|
||||||
|
git push
|
1
makemigrations.sh
Executable file
1
makemigrations.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
./manage.py makemigrations
|
1
migrate.sh
Executable file
1
migrate.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
./manage.py migrate
|
Loading…
Reference in New Issue
Block a user