Compare commits
3 Commits
d727afe5b8
...
03eb894602
Author | SHA1 | Date | |
---|---|---|---|
03eb894602 | |||
f124264738 | |||
95919741dd |
8
Makefile
8
Makefile
@ -232,6 +232,13 @@ restore: ## Run 'restore' service
|
|||||||
@$(DOCKER_COMPOSE) $(DOCKER_COMPOSE_FILES) run --rm $(RESTORE_SERVICE)
|
@$(DOCKER_COMPOSE) $(DOCKER_COMPOSE_FILES) run --rm $(RESTORE_SERVICE)
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# migrate
|
||||||
|
#
|
||||||
|
migrate: ## Run 'migrate', django migrations, needs the container to be up and running
|
||||||
|
@$(DOCKER) exec -it "$(container)" /entrypoint.sh run-migrations
|
||||||
|
|
||||||
|
|
||||||
cleandb:
|
cleandb:
|
||||||
@prefix="bsky.local-"; \
|
@prefix="bsky.local-"; \
|
||||||
path="_data/backup/*" ; \
|
path="_data/backup/*" ; \
|
||||||
@ -266,6 +273,7 @@ cleandb:
|
|||||||
fi ; \
|
fi ; \
|
||||||
done ;
|
done ;
|
||||||
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
@:
|
@:
|
||||||
|
|
||||||
|
@ -13,4 +13,3 @@ MYSQL_ROOT_PASSWORD=pass
|
|||||||
|
|
||||||
DEBUG=True
|
DEBUG=True
|
||||||
SECRET_KEY=django-secret-key-123123-abcabc
|
SECRET_KEY=django-secret-key-123123-abcabc
|
||||||
DJANGO_SETTINGS_MODULE=project.settings.devel
|
|
||||||
|
@ -38,6 +38,7 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'core',
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
@ -1,2 +1,3 @@
|
|||||||
Django==5.1.3
|
Django==5.1.3
|
||||||
python-decouple==3.8
|
python-decouple==3.8
|
||||||
|
mysqlclient==2.2.6
|
||||||
|
Loading…
Reference in New Issue
Block a user