diff --git a/.gitignore b/.gitignore index f40fbd8..9596489 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ _site .jekyll-cache .jekyll-metadata vendor + +schemata \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..cfb4b06 --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Copy schemata from docs +cp -r ../picc-docs/schemata . + +# Built Jakyl site +cd main_page +JEKYLL_ENV=production bundle exec jekyll build +cd .. + +# Build container +docker build --rm -t picc/picc-website -f nginx_container_build/Dockerfile . \ No newline at end of file diff --git a/404.html b/main_site/404.html similarity index 100% rename from 404.html rename to main_site/404.html diff --git a/Gemfile b/main_site/Gemfile similarity index 100% rename from Gemfile rename to main_site/Gemfile diff --git a/Gemfile.lock b/main_site/Gemfile.lock similarity index 100% rename from Gemfile.lock rename to main_site/Gemfile.lock diff --git a/_config.yml b/main_site/_config.yml similarity index 100% rename from _config.yml rename to main_site/_config.yml diff --git a/_data/navigation.yml b/main_site/_data/navigation.yml similarity index 100% rename from _data/navigation.yml rename to main_site/_data/navigation.yml diff --git a/_posts/2023-01-29-welcome-to-picc.md b/main_site/_posts/2023-01-29-welcome-to-picc.md similarity index 100% rename from _posts/2023-01-29-welcome-to-picc.md rename to main_site/_posts/2023-01-29-welcome-to-picc.md diff --git a/about.md b/main_site/about.md similarity index 100% rename from about.md rename to main_site/about.md diff --git a/index.html b/main_site/index.html similarity index 100% rename from index.html rename to main_site/index.html diff --git a/nginx_container_build/Dockerfile b/nginx_container_build/Dockerfile new file mode 100644 index 0000000..9241236 --- /dev/null +++ b/nginx_container_build/Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:1.23 + +COPY main_site/_site /usr/share/nginx/html +COPY schemata /usr/share/nginx/html/schemata \ No newline at end of file