Skip to content

Commit

Permalink
Modify name of project
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Sep 4, 2024
1 parent a952cc4 commit 48466bb
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 75 deletions.
46 changes: 23 additions & 23 deletions 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 = "marshallku-blog-cdn"
name = "rustycdn"
version = "1.1.3"
edition = "2021"

Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM rust:1.73-alpine AS base

WORKDIR /usr/src/marshallku-blog-cdn
WORKDIR /usr/src/rustycdn

RUN set -eux; \
apk add --no-cache musl-dev pkgconfig libressl-dev; \
Expand All @@ -11,8 +11,8 @@ COPY Cargo.* .
RUN mkdir src && \
echo 'fn main() {println!("Hello, world!");}' > src/main.rs && \
cargo build --release && \
rm target/release/marshallku-blog-cdn* && \
rm target/release/deps/marshallku_blog_cdn* && \
rm target/release/rustycdn* && \
rm target/release/deps/rustycdn* && \
rm -rf src

FROM base AS builder
Expand All @@ -24,8 +24,8 @@ FROM alpine:3.14

WORKDIR /usr/local/bin

COPY --from=builder /usr/src/marshallku-blog-cdn/target/release/marshallku-blog-cdn .
COPY --from=builder /usr/src/rustycdn/target/release/rustycdn .

EXPOSE 41890

CMD ["./marshallku-blog-cdn"]
CMD ["./rustycdn"]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Blog CDN
# RustyCDN

[![CI](https://github.com/marshallku/marshallku-blog-cdn/actions/workflows/ci.yml/badge.svg)](https://github.com/marshallku/marshallku-blog-cdn/actions/workflows/ci.yml)
[![Deploy to Container Registry](https://github.com/marshallku/marshallku-blog-cdn/actions/workflows/deploy.yml/badge.svg)](https://github.com/marshallku/marshallku-blog-cdn/actions/workflows/deploy.yml)
[![CI](https://github.com/marshallku/rustycdn/actions/workflows/ci.yml/badge.svg)](https://github.com/marshallku/rustycdn/actions/workflows/ci.yml)
[![Deploy to Container Registry](https://github.com/marshallku/rustycdn/actions/workflows/deploy.yml/badge.svg)](https://github.com/marshallku/rustycdn/actions/workflows/deploy.yml)

![Quality Gate Status](https://badge.marshallku.dev?metric=alert_status&project=marshallku_marshallku-blog-cdn_7201a95a-ba17-439f-ac2d-60f1c9624f4c)
![Bugs](https://badge.marshallku.dev?metric=bugs&project=marshallku_marshallku-blog-cdn_7201a95a-ba17-439f-ac2d-60f1c9624f4c)
Expand Down
2 changes: 1 addition & 1 deletion config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cdn.example.com;
root /home/example/marshallku-blog-cdn/cdn_root;
root /home/example/rustycdn/cdn_root;

ssl_certificate "/etc/letsencrypt/live/cdn.example.com/fullchain.pem";
ssl_certificate_key "/etc/letsencrypt/live/cdn.example.com/privkey.pem";
Expand Down
85 changes: 43 additions & 42 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
{
"words": [
"actix",
"addrs",
"autodocs",
"BUILDKIT",
"callout",
"codebases",
"codepoint",
"codepoints",
"clippy",
"dotenv",
"hookform",
"iname",
"libressl",
"localforage",
"Luma",
"Malgun",
"marshallku",
"mindepth",
"nextjs",
"oneshot",
"pkgconfig",
"preconfigured",
"preconfigures",
"Pretendard",
"println",
"Promiseable",
"referer",
"reqwest",
"rfind",
"tempdir",
"tempfile",
"treeshake",
"tsup",
"Turborepo",
"vercel",
"wahlberg",
"WEBM",
"WEBP",
"xlink"
],
"ignorePaths": ["Cargo.lock", "Cargo.toml", "target", "config/nginx.conf"]
"words": [
"actix",
"addrs",
"autodocs",
"BUILDKIT",
"callout",
"clippy",
"codebases",
"codepoint",
"codepoints",
"dotenv",
"hookform",
"iname",
"libressl",
"localforage",
"Luma",
"Malgun",
"marshallku",
"mindepth",
"nextjs",
"oneshot",
"pkgconfig",
"preconfigured",
"preconfigures",
"Pretendard",
"println",
"Promiseable",
"referer",
"reqwest",
"rfind",
"rustycdn",
"tempdir",
"tempfile",
"treeshake",
"tsup",
"Turborepo",
"vercel",
"wahlberg",
"WEBM",
"WEBP",
"xlink"
],
"ignorePaths": ["Cargo.lock", "Cargo.toml", "target", "config/nginx.conf"]
}

0 comments on commit 48466bb

Please sign in to comment.