Skip to content

Commit f151504

Browse files
Remove experimental Streamlit app
Closes #81
1 parent 94b55e3 commit f151504

File tree

4 files changed

+1
-183
lines changed

4 files changed

+1
-183
lines changed

Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ For example:
106106
* An `emcee` adapter (#11).
107107
* C++ `Backend`/`Run`/`Chain` interfaces
108108
* C++ ClickHouse backend (via [`clickhouse-cpp`](https://github.com/ClickHouse/clickhouse-cpp))
109-
* A webinterface that goes beyond the Streamlit proof-of-concept (see [`mcbackend-server`](#experimental-arviz-server))
110109

111110
As the schema and API stabilizes a mid-term goal might be to replace PyMC `BaseTrace`/`MultiTrace` entirely to rely on `mcbackend`.
112111

@@ -130,7 +129,7 @@ Some tests need a ClickHouse database server running locally.
130129
To start one in Docker:
131130

132131
```bash
133-
docker run --detach --rm --name mcbackend-db -p 9000:9000 --ulimit nofile=262144:262144 yandex/clickhouse-server
132+
docker run --detach --rm --name mcbackend-db -p 9000:9000 --ulimit nofile=262144:262144 clickhouse/clickhouse-server
134133
```
135134

136135
### Compiling the ProtocolBuffers
@@ -147,42 +146,3 @@ It also copies the generated files to the right place in `mcbackend`.
147146
```bash
148147
python protobufs/generate.py
149148
```
150-
151-
# Experimental: `mcbackend-server`
152-
This repository also includes an experimental Streamlit app for querying the ClickHouse backend and creating ArviZ plots already while an MCMC is still running.
153-
154-
⚠ This part will eventually move into its own repository. ⚠
155-
156-
First build the Docker image:
157-
158-
```
159-
docker build -t mcbackend-server:0.1.0 .
160-
```
161-
162-
Then start the container.
163-
The following two commands should be executed in the root path of the repository.
164-
165-
⚠ You may need to adapt the hostname line. ⚠
166-
167-
On Windows:
168-
```
169-
docker run ^
170-
--rm --name mcbackend-server ^
171-
-p 8501:8501 ^
172-
-e DB_HOST=%COMPUTERNAME% ^
173-
-v %cd%:/mcbackend ^
174-
-v %cd%/mcbackend-server/app.py:/mcbackend-server/app.py ^
175-
mcbackend-server:0.1.0
176-
```
177-
178-
179-
On Linux:
180-
```
181-
docker run \
182-
--rm --name mcbackend-server \
183-
-p 8501:8501 \
184-
-e DB_HOST=$hostname \
185-
-v $pwd:/mcbackend \
186-
-v $pwd/mcbackend-server/app.py:/mcbackend-server/app.py \
187-
mcbackend-server:0.1.0
188-
```

mcbackend-server/app.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

mcbackend-server/requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)