docker composed local dev env
parent
6b432a750e
commit
aa3dc3dba4
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
|
||||||
|
celery -A main.celery worker --loglevel=info
|
@ -1,9 +1,9 @@
|
|||||||
from fastapi import APIRouter
|
from fastapi import APIRouter
|
||||||
|
|
||||||
from project.celery_utils import create_celery
|
|
||||||
|
|
||||||
users_router = APIRouter(
|
users_router = APIRouter(
|
||||||
prefix="/users",
|
prefix="/users",
|
||||||
)
|
)
|
||||||
|
|
||||||
from . import models, tasks # noqa
|
from . import models, tasks # noqa
|
||||||
|
|
||||||
|
from project.celery_utils import create_celery
|
||||||
|
Loading…
Reference in New Issue