Skip to content

Commit

Permalink
Making work on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuejunior committed Jun 28, 2020
1 parent 67a622e commit e11a206
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 15 deletions.
9 changes: 8 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ verify_ssl = true
name = "pypi"

[packages]
brandenburg = {editable = true,path = "."}
pydantic = "==1.4"
aioredis = "==1.3.0"
salesforce-fuelsdk = "==1.3.0"
Expand Down Expand Up @@ -44,3 +43,11 @@ fmt-check = "black -t py37 -v --line-length 120 --check --exclude node_modules/*
isort-fmt = "isort --apply --recursive -j 4 --line-width 120 --use-parentheses --no-inline-sort --multi-line 3 --trailing-comma brandenburg tests"
isort-check = "isort --check-only --recursive -j 4 --line-width 120 --use-parentheses --no-inline-sort --multi-line 3 --trailing-comma brandenburg tests"
clean = "rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./out ./*/out ./.mypy_cache ./*/.mypy_cache */.pytest_cache .pytest_cache .serverless/*"

[packages.brandenburg]
editable = true
path = "."

[packages.e1839a8]
path = "."
editable = true
44 changes: 32 additions & 12 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: brandenburg.main:app --port $PORT --log-file -
web: uvicorn brandenburg.main:app --port $PORT --log-level $LOG_LEVEL --loop uvloop --proxy-headers --host=0.0.0.0
2 changes: 1 addition & 1 deletion brandenburg/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Settings(BaseSettings):

DEBUG: bool = True
PORT: str = "8000"
ACCESS_LOG: bool = False
LOG_LEVEL: str = "trace" # [critical|error|warning|info|debug|trace]
PROD: bool = False
NAMESPACE: str = "dev"

Expand Down

0 comments on commit e11a206

Please sign in to comment.