From 6be5a0861775d5776c9de958c580447d6f24a84e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 22 Dec 2023 17:43:27 +1100 Subject: [PATCH] feat: Moved website files to clean root dir --- Dockerfile | 4 ++-- build.sh | 13 ------------- .../assets/bootstrap/css/bootstrap.min.css | 0 .../content}/assets/bootstrap/js/bootstrap.min.js | 0 .../assets/css/Navbar-Right-Links-Dark-icons.css | 0 .../content}/assets/css/Team-images.css | 0 .../content}/assets/css/bs-theme-overrides.css | 0 {content => website/content}/assets/img/HNS.png | Bin {content => website/content}/assets/img/HNSW.png | Bin .../content}/assets/img/overview.webp | Bin .../assets/img/people/profile - small.webp | Bin {content => website/content}/assets/js/bs-init.js | 0 {content => website/content}/index.html | 0 nginx.conf => website/nginx.conf | 0 14 files changed, 2 insertions(+), 15 deletions(-) delete mode 100755 build.sh rename {content => website/content}/assets/bootstrap/css/bootstrap.min.css (100%) rename {content => website/content}/assets/bootstrap/js/bootstrap.min.js (100%) rename {content => website/content}/assets/css/Navbar-Right-Links-Dark-icons.css (100%) rename {content => website/content}/assets/css/Team-images.css (100%) rename {content => website/content}/assets/css/bs-theme-overrides.css (100%) rename {content => website/content}/assets/img/HNS.png (100%) rename {content => website/content}/assets/img/HNSW.png (100%) rename {content => website/content}/assets/img/overview.webp (100%) rename {content => website/content}/assets/img/people/profile - small.webp (100%) rename {content => website/content}/assets/js/bs-init.js (100%) rename {content => website/content}/index.html (100%) rename nginx.conf => website/nginx.conf (100%) diff --git a/Dockerfile b/Dockerfile index c5b22d1..83e8441 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM nginx RUN rm /etc/nginx/conf.d/default.conf -COPY nginx.conf /etc/nginx/conf.d/default.conf -COPY content /var/www/html \ No newline at end of file +COPY website/nginx.conf /etc/nginx/conf.d/default.conf +COPY website/content /var/www/html \ No newline at end of file diff --git a/build.sh b/build.sh deleted file mode 100755 index 39efa02..0000000 --- a/build.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Build the project -echo "Building the project..." -docker build -t hns_doh:test . - -# Start the container -echo "Starting the container..." -docker run -p 1234:80 --name hns_doh hns_doh:test - -# Remove the container -echo "Removing the container..." -docker rm -f hns_doh \ No newline at end of file diff --git a/content/assets/bootstrap/css/bootstrap.min.css b/website/content/assets/bootstrap/css/bootstrap.min.css similarity index 100% rename from content/assets/bootstrap/css/bootstrap.min.css rename to website/content/assets/bootstrap/css/bootstrap.min.css diff --git a/content/assets/bootstrap/js/bootstrap.min.js b/website/content/assets/bootstrap/js/bootstrap.min.js similarity index 100% rename from content/assets/bootstrap/js/bootstrap.min.js rename to website/content/assets/bootstrap/js/bootstrap.min.js diff --git a/content/assets/css/Navbar-Right-Links-Dark-icons.css b/website/content/assets/css/Navbar-Right-Links-Dark-icons.css similarity index 100% rename from content/assets/css/Navbar-Right-Links-Dark-icons.css rename to website/content/assets/css/Navbar-Right-Links-Dark-icons.css diff --git a/content/assets/css/Team-images.css b/website/content/assets/css/Team-images.css similarity index 100% rename from content/assets/css/Team-images.css rename to website/content/assets/css/Team-images.css diff --git a/content/assets/css/bs-theme-overrides.css b/website/content/assets/css/bs-theme-overrides.css similarity index 100% rename from content/assets/css/bs-theme-overrides.css rename to website/content/assets/css/bs-theme-overrides.css diff --git a/content/assets/img/HNS.png b/website/content/assets/img/HNS.png similarity index 100% rename from content/assets/img/HNS.png rename to website/content/assets/img/HNS.png diff --git a/content/assets/img/HNSW.png b/website/content/assets/img/HNSW.png similarity index 100% rename from content/assets/img/HNSW.png rename to website/content/assets/img/HNSW.png diff --git a/content/assets/img/overview.webp b/website/content/assets/img/overview.webp similarity index 100% rename from content/assets/img/overview.webp rename to website/content/assets/img/overview.webp diff --git a/content/assets/img/people/profile - small.webp b/website/content/assets/img/people/profile - small.webp similarity index 100% rename from content/assets/img/people/profile - small.webp rename to website/content/assets/img/people/profile - small.webp diff --git a/content/assets/js/bs-init.js b/website/content/assets/js/bs-init.js similarity index 100% rename from content/assets/js/bs-init.js rename to website/content/assets/js/bs-init.js diff --git a/content/index.html b/website/content/index.html similarity index 100% rename from content/index.html rename to website/content/index.html diff --git a/nginx.conf b/website/nginx.conf similarity index 100% rename from nginx.conf rename to website/nginx.conf