Compare commits
6 Commits
572d4a6cbb
...
2c9b84f98b
| Author | SHA1 | Date | |
|---|---|---|---|
|
2c9b84f98b
|
|||
|
857750568e
|
|||
|
2d26e8a9ce
|
|||
|
e145bcd2c2
|
|||
|
d61e01f464
|
|||
|
121d2adbca
|
16
README.md
Normal file
16
README.md
Normal 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
15
dockerfile
Normal 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
11
nginx.conf
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"scripts": {
|
||||||
|
"release": "npx shadow-cljs release app"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0"
|
"react-dom": "^18.0.0"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<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" />
|
<link href="/css/style.css" rel="stylesheet" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -19,16 +19,16 @@
|
|||||||
" -as a package maintainer- and "
|
" -as a package maintainer- and "
|
||||||
[:a {:href "https://github.com/GigiaJ/cinny"} "Cinny (Matrix client)"]
|
[: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."]
|
[: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]
|
[:br]
|
||||||
[:br]
|
[:br]
|
||||||
[:h2 "Some of the other stuff"]
|
[: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 "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/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."]
|
[:p [:a {:href "https://codeberg.org/Gigia/gunit"} "My Guix channel"] " where I have some packages that aren't upstreamed."]
|
||||||
[:br]
|
[:br]
|
||||||
[:br]
|
[:br]
|
||||||
|
|||||||
Reference in New Issue
Block a user