mirror of
https://github.com/FlipsideCrypto/badger.git
synced 2026-02-06 10:57:46 +00:00
fix deployment issues
This commit is contained in:
parent
0e7d47f100
commit
cf90c05c3e
@ -1,2 +1,2 @@
|
||||
release: python manage.py migrate
|
||||
web: gunicorn api.wsgi --log-level=info --log-file=-
|
||||
web: gunicorn api.wsgi --log-level=info --log-file=- --bind 0.0.0.0:8080
|
||||
@ -1,6 +1,5 @@
|
||||
from .base import *
|
||||
|
||||
if DEBUG:
|
||||
from .local import *
|
||||
else:
|
||||
from .production import *
|
||||
# if DEBUG:
|
||||
# from .local import *
|
||||
# else:
|
||||
from .production import *
|
||||
@ -15,7 +15,7 @@ kill_timeout = "5s"
|
||||
release_command = "python manage.py migrate"
|
||||
|
||||
[processes]
|
||||
app = "gunicorn api.wsgi --log-level=info --log-file=-"
|
||||
app = "gunicorn api.wsgi --log-level=info --log-file=- --bind 0.0.0.0:8080"
|
||||
|
||||
[[services]]
|
||||
protocol = "tcp"
|
||||
|
||||
@ -65,7 +65,7 @@ class Backfill:
|
||||
ORGANIZATION_EVENTS
|
||||
)
|
||||
|
||||
# if __name__ == '__main__':
|
||||
# backfill = Backfill()
|
||||
# backfill.backfill_factories()
|
||||
# backfill.backfill_organizations()
|
||||
if __name__ == '__main__':
|
||||
backfill = Backfill()
|
||||
backfill.backfill_factories()
|
||||
backfill.backfill_organizations()
|
||||
Loading…
Reference in New Issue
Block a user