Skip to content

Commit 1413370

Browse files
Merge branch 'dash' into develop
2 parents cb620ec + 03bc57c commit 1413370

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1723
-107
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Editors
22
.vscode/
3+
.idea/
34

45
# Byte-compiled / optimized / DLL files
56
__pycache__/
@@ -16,3 +17,12 @@ venv.bak/
1617
# mypy
1718
.mypy_cache/
1819
__pycache__/
20+
21+
22+
# Module trash
23+
*.egg-info
24+
25+
# Notebooks
26+
devel.ipynb
27+
.ipynb_checkpoints
28+

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ COPY settings.cfg .
1111
COPY src src
1212

1313
CMD ["streamlit", "run", "src/app.py"]
14+

Dockerfile.dash

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:3.7.7-slim-buster
2+
3+
WORKDIR /code
4+
5+
COPY requirements.txt requirements.txt
6+
RUN pip install -q -r requirements.txt
7+
8+
COPY src src
9+
10+
# EXPOSE $PORT
11+
12+
CMD gunicorn dash_app:server --bind 0.0.0.0:$PORT --chdir src/

Pipfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
pytest = "*"
87

98
[packages]
109
streamlit = "*"
1110
pandas = "*"
1211
numpy = "*"
12+
pytest = "*"
1313
altair = "*"
14+
dash = "*"
15+
dash-bootstrap-components = "*"
16+
gunicorn = "*"
17+
PyYAML = "*"
1418

1519
[requires]
1620
python_version = "3.7"

0 commit comments

Comments
 (0)