Initial commit++
This commit is contained in:
parent
a67e96b1ad
commit
4f578e8c0e
1
.ruby-version
Normal file
1
.ruby-version
Normal file
@ -0,0 +1 @@
|
||||
3.1.0
|
5
Gemfile
Normal file
5
Gemfile
Normal file
@ -0,0 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'sinatra'
|
24
Gemfile.lock
Normal file
24
Gemfile.lock
Normal file
@ -0,0 +1,24 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
mustermann (1.1.1)
|
||||
ruby2_keywords (~> 0.0.1)
|
||||
rack (2.2.3)
|
||||
rack-protection (2.1.0)
|
||||
rack
|
||||
ruby2_keywords (0.0.5)
|
||||
sinatra (2.1.0)
|
||||
mustermann (~> 1.0)
|
||||
rack (~> 2.2)
|
||||
rack-protection (= 2.1.0)
|
||||
tilt (~> 2.0)
|
||||
tilt (2.0.10)
|
||||
|
||||
PLATFORMS
|
||||
arm64-darwin-21
|
||||
|
||||
DEPENDENCIES
|
||||
sinatra
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.3
|
4
LICENSE
4
LICENSE
@ -219,8 +219,8 @@ If you develop a new program, and you want it to be of the greatest possible use
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
Source code for http://mywillpower.org
|
||||
Copyright (C) 2022 Daniel Bowling
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
# mywillpower.org
|
||||
|
||||
Source code for http://mywillpower.org
|
||||
Source code for http://mywillpower.org
|
||||
|
||||
## Install dependencies
|
||||
|
||||
bundle install
|
||||
|
7
mywillpower.rb
Executable file
7
mywillpower.rb
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require 'sinatra'
|
||||
|
||||
get '/' do
|
||||
erb(:index)
|
||||
end
|
2
views/index.erb
Normal file
2
views/index.erb
Normal file
@ -0,0 +1,2 @@
|
||||
<h1>Ayy...</h1>
|
||||
<p>lmao</p>
|
18
views/layout.erb
Normal file
18
views/layout.erb
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="My Willpower">
|
||||
<meta property="og:description" content="One man's journey.">
|
||||
<meta property="og:url" content="https://www.mywillpower.org">
|
||||
<meta property="og:site_name" content="My Willpower">
|
||||
<meta name="twitter:title" content="My Willpower">
|
||||
<meta name="twitter:description" content="One man's journey.">
|
||||
<title>My Willpower</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user