streamlit getting started
This commit is contained in:
parent
1f3f805093
commit
60ff50d71c
@ -11,8 +11,11 @@ RUN apt-get update && apt-get install -y \
|
|||||||
git \
|
git \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN git clone https://github.com/streamlit/streamlit-example.git .
|
#RUN git clone https://github.com/streamlit/streamlit-example.git .
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
RUN pip3 install --upgrade pip
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
EXPOSE 8501
|
EXPOSE 8501
|
||||||
|
|||||||
2
build_and_run.sh
Executable file
2
build_and_run.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
docker build -t lithos-app .
|
||||||
|
docker run -p 8501:8501 lithos-app
|
||||||
11
readme.md
11
readme.md
@ -8,9 +8,14 @@ You’re free to use the framework of your choice. We want to understand how you
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
steps:
|
### Dev steps:
|
||||||
|
- streamlit getting started (done)
|
||||||
- streamlit getting started
|
|
||||||
- display a shapefile
|
- display a shapefile
|
||||||
- add a legend
|
- add a legend
|
||||||
- add feature to select shape file
|
- add feature to select shape file
|
||||||
|
|
||||||
|
|
||||||
|
### Running the app:
|
||||||
|
- chmod u+x build_and_run.sh
|
||||||
|
- ./build_and_run.sh
|
||||||
|
- Visit http://0.0.0.0:8501
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
streamlit==1.41.1
|
||||||
Loading…
Reference in New Issue
Block a user