feat: init gitpython and infrastructure app
parent
19ed720b82
commit
04ec4037a9
11
Makefile
11
Makefile
|
@ -33,11 +33,12 @@ help: ## Prints help for targets with comments
|
||||||
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||||
|
|
||||||
lint: ## Run linter
|
lint: ## Run linter
|
||||||
@./venv/bin/black ./dashboard/*
|
@./venv/bin/black ./dashboard/
|
||||||
@./venv/bin/black ./accounts/*
|
@./venv/bin/black ./accounts/
|
||||||
@./venv/bin/black ./dash/*
|
@./venv/bin/black ./dash/
|
||||||
@./venv/bin/black ./support/*
|
@./venv/bin/black ./support/
|
||||||
@./venv/bin/black ./billing/*
|
@./venv/bin/black ./billing/
|
||||||
|
@./venv/bin/black ./infrastructure/
|
||||||
|
|
||||||
migrate: ## Run migrations
|
migrate: ## Run migrations
|
||||||
$(call run_migrations)
|
$(call run_migrations)
|
||||||
|
|
|
@ -47,6 +47,7 @@ INSTALLED_APPS = [
|
||||||
"oauth2_provider",
|
"oauth2_provider",
|
||||||
"payments",
|
"payments",
|
||||||
"billing",
|
"billing",
|
||||||
|
"infrastructure",
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
@ -177,6 +178,13 @@ HOSTEA = {
|
||||||
# ref: https://gitea.hostea.org/Hostea/july-mvp/issues/17
|
# ref: https://gitea.hostea.org/Hostea/july-mvp/issues/17
|
||||||
"SUPPORT_REPOSITORY": "support",
|
"SUPPORT_REPOSITORY": "support",
|
||||||
},
|
},
|
||||||
|
"INFRA": {
|
||||||
|
"HOSTEA_REPO": {
|
||||||
|
"PATH": "/srv/hostea/dashboard/infrastructure",
|
||||||
|
"REMOTE": "git@localhost:Hostea/enough.git",
|
||||||
|
"SSH_KEY": "/srv/hostea/deploy",
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
EMAIL_CONFIG = env.email("EMAIL_URL", default="smtp://admin:password@localhost:10025")
|
EMAIL_CONFIG = env.email("EMAIL_URL", default="smtp://admin:password@localhost:10025")
|
||||||
|
|
|
@ -23,5 +23,6 @@ urlpatterns = [
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path("dash/", include("dash.urls")),
|
path("dash/", include("dash.urls")),
|
||||||
path("support/", include("support.urls")),
|
path("support/", include("support.urls")),
|
||||||
|
path("infra/", include("infrastructure.urls")),
|
||||||
path("", include("accounts.urls")),
|
path("", include("accounts.urls")),
|
||||||
]
|
]
|
||||||
|
|
|
@ -14,6 +14,8 @@ django-oauth-toolkit==2.0.0
|
||||||
django-payments==1.0.0
|
django-payments==1.0.0
|
||||||
django-phonenumber-field==6.3.0
|
django-phonenumber-field==6.3.0
|
||||||
djangorestframework==3.13.1
|
djangorestframework==3.13.1
|
||||||
|
gitdb==4.0.9
|
||||||
|
GitPython==3.1.27
|
||||||
greenlet==1.1.2
|
greenlet==1.1.2
|
||||||
idna==3.3
|
idna==3.3
|
||||||
isort==5.10.1
|
isort==5.10.1
|
||||||
|
@ -34,6 +36,7 @@ pylint==2.12.2
|
||||||
pynvim==0.4.3
|
pynvim==0.4.3
|
||||||
pytz==2022.1
|
pytz==2022.1
|
||||||
requests==2.27.1
|
requests==2.27.1
|
||||||
|
smmap==5.0.0
|
||||||
sqlparse==0.4.2
|
sqlparse==0.4.2
|
||||||
stripe==3.4.0
|
stripe==3.4.0
|
||||||
tblib==1.7.0
|
tblib==1.7.0
|
||||||
|
|
Loading…
Reference in New Issue