Compare commits
10 Commits
1ad9ae2065
...
5ab54478ac
Author | SHA1 | Date | |
---|---|---|---|
5ab54478ac | |||
ba7596e92c | |||
45ee743f5a | |||
3c8646ec85 | |||
7e80f8e439 | |||
36297176e4 | |||
09c8a8ffdd | |||
e7bddcaf46 | |||
05f7f45247 | |||
af92730cc3 |
|
@ -2,6 +2,7 @@ FROM ruby:3.1
|
|||
|
||||
# Move it
|
||||
WORKDIR /opt
|
||||
COPY config/ ./config/
|
||||
COPY public/ ./public/
|
||||
COPY views/ ./views/
|
||||
COPY Gemfile .
|
||||
|
@ -17,4 +18,4 @@ RUN bundle install
|
|||
EXPOSE 4567
|
||||
|
||||
# Send it
|
||||
CMD ["bundle", "exec", "puma", "-p", "4567", "-t", "2", "-e", "production"]
|
||||
CMD ["bundle", "exec", "puma", "-e", "production"]
|
||||
|
|
|
@ -7,13 +7,13 @@ GEM
|
|||
puma (5.6.2)
|
||||
nio4r (~> 2.0)
|
||||
rack (2.2.3)
|
||||
rack-protection (2.1.0)
|
||||
rack-protection (2.2.0)
|
||||
rack
|
||||
ruby2_keywords (0.0.5)
|
||||
sinatra (2.1.0)
|
||||
sinatra (2.2.0)
|
||||
mustermann (~> 1.0)
|
||||
rack (~> 2.2)
|
||||
rack-protection (= 2.1.0)
|
||||
rack-protection (= 2.2.0)
|
||||
tilt (~> 2.0)
|
||||
tilt (2.0.10)
|
||||
|
||||
|
|
2
config/puma.rb
Normal file
2
config/puma.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
threads(0, `nproc`.chomp.to_i || 5)
|
||||
port 4567
|
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -94,12 +94,12 @@ html, body {
|
|||
#video {
|
||||
background-image: url('/willpower.gif');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-repeat: repeat;
|
||||
background-size: contain;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 255;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
<!--
|
||||
###### ###### ####### ####### ### ######
|
||||
# # # # # # # # # #
|
||||
# # # # # # # # # #
|
||||
###### ###### # # # # ######
|
||||
# # # # # # # #
|
||||
# # # # # # # #
|
||||
# # # ####### # ### #
|
||||
|
||||
================================================
|
||||
|
||||
You can append any path you want, e.g.:
|
||||
|
||||
http://mywillpower.org/blog
|
||||
http://mywillpower.org/religion/prayer.php
|
||||
|
||||
It will always return the same thing 😎
|
||||
-->
|
||||
<div class="modal box">
|
||||
<h1>Notice:</h1>
|
||||
<h2>This website uses cookies.</h2>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
content="One man's journey to summon his own calm from within.">
|
||||
<meta property="og:url" content="https://www.mywillpower.org">
|
||||
<meta property="og:site_name" content="My Willpower">
|
||||
<meta property="og:image" content="http://www.mywillpower.org/tip.jpg">
|
||||
<meta property="og:image" content="https://www.mywillpower.org/tip.jpg">
|
||||
<meta property="og:image:alt"
|
||||
content="A man standing on the summit of a mountain with his arms
|
||||
outstretched above his head.">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="My Willpower">
|
||||
<meta name="twitter:description" content="One man's journey.">
|
||||
<meta name="twitter:image" content="http://www.mywillpower.org/tip.jpg">
|
||||
<meta name="twitter:image" content="https://www.mywillpower.org/tip.jpg">
|
||||
<meta name="twitter:image:alt"
|
||||
content="A man standing on the summit of a mountain with his arms
|
||||
outstretched above his head.">
|
||||
|
|
Loading…
Reference in New Issue
Block a user