Compare commits

...

6 Commits

Author SHA1 Message Date
2c9b84f98b Add nginx.conf fallback 2025-10-01 17:14:39 -05:00
857750568e Add release script 2025-10-01 17:14:26 -05:00
2d26e8a9ce Some light changes 2025-10-01 17:14:14 -05:00
e145bcd2c2 Update title 2025-10-01 17:14:01 -05:00
d61e01f464 Add dockerfile 2025-10-01 17:13:50 -05:00
121d2adbca update README 2025-10-01 17:13:31 -05:00
6 changed files with 49 additions and 4 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
Simple README
Just use Docker to build and to run for ease:
Build:
```
docker build -t mesite .
```
Run:
```
docker run -p 8084:80 mesite
```
Can access in browser now at:
```
localhost:8084
```

15
dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:18-bullseye AS builder
RUN apt-get update && apt-get install -y default-jre
WORKDIR /app
COPY package.json package-lock.json shadow-cljs.edn ./
RUN npm install
COPY src ./src
COPY public ./public
RUN npx shadow-cljs release :app
FROM nginx:alpine
COPY --from=builder /app/public /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

11
nginx.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}

View File

@@ -1,4 +1,7 @@
{
"scripts": {
"release": "npx shadow-cljs release app"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Your Name's Personal Site</title>
<title>Jaggar</title>
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

View File

@@ -19,16 +19,16 @@
" -as a package maintainer- and "
[:a {:href "https://github.com/GigiaJ/cinny"} "Cinny (Matrix client)"]
"."]
[:p "Software engineer (and more) at Ocean Spray Cranberries. I adore farmer-owned co-ops; Companies shouldn't be driven to improve stock prices."]
[:p "Software engineer (and more) at Ocean Spray Cranberries. I adore farmer-owned co-ops; companies shouldn't be driven to improve stock prices."]
[:p "Large proponent for free open source software, however I believe users should not be directly bridled from choices that are unequivocally pro-sumer."]
[:br]
[:br]
[:br]
[:h2 "Some of the other stuff"]
[:p "Creator of " [:a {:href "https://github.com/OSRSB/OsrsBot"} "OSRSB"] " a botting API for Old School RuneScape."]
[:p [:a {:href "https://github.com/GigiaJ/Renny"} "Infrequent" ] " software reverse engineer for games."]
[:p [:a {:href "https://github.com/GigiaJ/Renny"} "Infrequent" ] " software reverse engineer for games. Zig soon though."]
[:p [:a {:href "https://github.com/GigiaJ/dotfiles/tree/master/guix/.config/guix"} "My Guix home configuration"] " if you want your Guix config just like mine for some reason. (It's an alright reference I guess)."]
[:p [:a {:href "https://github.com/GigiaJ/dotfiles/tree/master/iac"} "My Pulumi IaC"] " for an unmanaged K8 cluster with hcloud."]
[:p [:a {:href "https://github.com/GigiaJ/dotfiles/tree/master/iac"} "My Clojurescript Pulumi IaC"] " for an unmanaged K8 cluster with hcloud."]
[:p [:a {:href "https://codeberg.org/Gigia/gunit"} "My Guix channel"] " where I have some packages that aren't upstreamed."]
[:br]
[:br]