Skip to content

Commit

Permalink
renamings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Feb 10, 2025
1 parent d0d5ad1 commit 70c6a42
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "simple-fragment-server"
name = "simple-artifact-server"
version = "0.1.0"
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ FROM debian:bullseye-slim

WORKDIR /work

COPY --from=builder /app/target/release/simple-fragment-server /app/simple-fragment-server
COPY --from=builder /app/target/release/simple-artifact-server /app/simple-artifact-server

ENTRYPOINT [ "/app/simple-fragment-server" ]
ENTRYPOINT [ "/app/simple-artifact-server" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To run the server:
cargo build
mkdir scratch
cd scratch
../target/debug/simple-fragment-server --command "python3 -m http.server 9090"
../target/debug/simple-artifact-server --command "python3 -m http.server 9090"
```

Then, to send a file:
Expand Down
4 changes: 2 additions & 2 deletions examples/streamlit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN python -m pip install streamlit pandas matplotlib numpy

WORKDIR /work

COPY --from=simplefrag /app/simple-fragment-server /app/simple-fragment-server
COPY --from=simplefrag /app/simple-artifact-server /app/simple-artifact-server

ENTRYPOINT [ "/app/simple-fragment-server", "--command", "streamlit run app.py --server.port 9090" ]
ENTRYPOINT [ "/app/simple-artifact-server", "--command", "streamlit run app.py --server.port 9090" ]
2 changes: 1 addition & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl WriteUser {
if user_data.read_only.unwrap_or(false) {
return Err((
StatusCode::FORBIDDEN,
"Read-only access: Cannot modify fragments".to_string(),
"Read-only access: Cannot modify artifacts".to_string(),
));
}

Expand Down

0 comments on commit 70c6a42

Please sign in to comment.