Go to file
2022-02-24 20:19:49 -05:00
config Set port in puma config 2022-02-20 03:15:04 -05:00
public Add favicon 2022-02-24 20:19:49 -05:00
views Fix scheme in URLs 2022-02-18 00:22:49 -05:00
.gitignore Initial commit 2022-02-12 20:56:37 +01:00
.ruby-version Initial commit++ 2022-02-12 15:30:27 -05:00
config.ru Implement Dockerfile 2022-02-13 02:01:37 -05:00
Dockerfile Set port in puma config 2022-02-20 03:15:04 -05:00
Gemfile Implement background image 2022-02-12 17:10:51 -05:00
Gemfile.lock Set port in puma config 2022-02-20 03:15:04 -05:00
LICENSE Initial commit++ 2022-02-12 15:30:27 -05:00
mywillpower.rb Make the route a one-liner 2022-02-12 19:00:22 -05:00
README.md Whoopsie 2022-02-17 21:45:29 -05:00

mywillpower.org

Source code for http://mywillpower.org

Local

Install dependencies

bundle install

Run it locally

bundle exec mywillpower.rb

Docker

Build

docker build -t mywillpower .

Run

docker run -p 4567:4567 mywillpower

Tag

docker tag mywillpower \
    us-east4-docker.pkg.dev/www-swagg/mywillpower/mywillpower

Push

docker push us-east4-docker.pkg.dev/www-swagg/mywillpower/mywillpower