make devinit added instead of localinit
This commit is contained in:
parent
e0dfb2559a
commit
3d52183ecc
3
Makefile
3
Makefile
@ -1,8 +1,9 @@
|
|||||||
# git helper Makefile: Version 1.8 (2025-08-05)
|
# git helper Makefile: Version 1.9 (2025-08-05)
|
||||||
default: help
|
default: help
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
-include __make.d__/*.mk
|
-include __make.d__/*.mk
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
localinit:
|
devinit:
|
||||||
if [[ ! -e config.py ]]; then
|
if [[ ! -e config.py ]]; then
|
||||||
cp config_example/config.py config.py
|
cp config_example/config.py config.py
|
||||||
chmod 600 config.py
|
chmod 600 config.py
|
||||||
@ -12,8 +13,6 @@ localinit:
|
|||||||
fi
|
fi
|
||||||
if [[ ! -e db.sqlite3 ]]; then
|
if [[ ! -e db.sqlite3 ]]; then
|
||||||
venv/bin/python manage.py migrate
|
venv/bin/python manage.py migrate
|
||||||
venv/bin/python manage.py import_system_pages
|
|
||||||
venv/bin/python manage.py rebuild_index
|
|
||||||
echo "*****************************************************************************************"
|
echo "*****************************************************************************************"
|
||||||
echo "** YOU might want to create asuperuser with: venv/bin/python manage.py createsuperuser **"
|
echo "** YOU might want to create asuperuser with: venv/bin/python manage.py createsuperuser **"
|
||||||
echo "*****************************************************************************************"
|
echo "*****************************************************************************************"
|
||||||
|
12
__make.d__/help.mk
Normal file
12
__make.d__/help.mk
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
.ONESHELL:
|
||||||
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
|
.SILENT:
|
||||||
|
|
||||||
|
GIT_FLAG = ./.git
|
||||||
|
VENV_FLAG = ./.venv_required
|
||||||
|
VENV_FOLDER = ./venv
|
||||||
|
|
||||||
|
localhelp:
|
||||||
|
echo "Possible local options are:"
|
||||||
|
echo " - devinit - Initialise the application for development usage"
|
@ -1,5 +1,6 @@
|
|||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
run:
|
run:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user