Compare commits

..

3 Commits

Author SHA1 Message Date
03eb894602 Del DJANGO_SETTINGS_MODULE
Legacy, not needed for now
2024-11-14 13:03:48 +01:00
f124264738 Applied migraitons + fixed make migrate command 2024-11-14 13:03:31 +01:00
95919741dd Moving code
Moving code to not handle with this blueskydj/blueskydj duped
2024-11-14 13:03:07 +01:00
16 changed files with 10 additions and 1 deletions

View File

@ -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 ;
%: %:
@: @:

View File

@ -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

View File

@ -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 = [

View File

@ -1,2 +1,3 @@
Django==5.1.3 Django==5.1.3
python-decouple==3.8 python-decouple==3.8
mysqlclient==2.2.6