Skip to content

Commit

Permalink
feat(build): use jekyll and restyle website
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Sep 21, 2024
1 parent dfccc6c commit 9e13d7c
Show file tree
Hide file tree
Showing 35 changed files with 1,362 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ignore hidden files
.*

_site/


# TODO: remove this
dist/
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ensure dockerfiles are checked out with LF line endings
Dockerfile text eol=lf
*.dockerfile text eol=lf
20 changes: 20 additions & 0 deletions .run/Dockerfile.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Dockerfile" type="docker-deploy" factoryName="dockerfile" server-name="Docker">
<deployment type="dockerfile">
<settings>
<option name="containerName" value="" />
<option name="portBindings">
<list>
<DockerPortBindingImpl>
<option name="containerPort" value="4000" />
<option name="hostPort" value="4000" />
</DockerPortBindingImpl>
</list>
</option>
<option name="commandLineOptions" value="--net=host" />
<option name="sourceFilePath" value="Dockerfile" />
</settings>
</deployment>
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: default
title: 404 - Page not found
permalink: /404.html
---

<div class="text-center">
<h1>Whoops, this page doesn't exist.</h1>
<h1>Move along. (404 error)</h1>
<br/>

<img src="{{ 'assets/img/404-southpark.jpg' | relative_url }}" alt="Not found" />
</div>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
app.lizardbyte.dev
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ruby:3.3-bookworm

#ENV PAGES_REPO_NWO="octocat/dummy-repo"

RUN apt-get update -qq && apt-get install -y build-essential

WORKDIR /app

COPY . .

# Install the gems specified in the Gemfile
RUN bundle install

# Expose the port that Jekyll will run on
EXPOSE 4000

# Command to build and serve the Jekyll site
CMD ["bundle", "exec", "jekyll", "serve", "--config", "_config.yml,_config_local.yml"]
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'jekyll'
gem 'github-pages', group: :jekyll_plugins
Loading

0 comments on commit 9e13d7c

Please sign in to comment.