Skip to content

Commit 68e47f9

Browse files
committed
setup rails
1 parent e24b46e commit 68e47f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1372
-1
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark any vendored files as having been vendored.
7+
vendor/* linguist-vendored

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-*
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
# Ignore pidfiles, but keep the directory.
21+
/tmp/pids/*
22+
!/tmp/pids/
23+
!/tmp/pids/.keep
24+
25+
# Ignore uploaded files in development.
26+
/storage/*
27+
!/storage/.keep
28+
/tmp/storage/*
29+
!/tmp/storage/
30+
!/tmp/storage/.keep
31+
32+
/public/assets
33+
34+
# Ignore master key for decrypting credentials and more.
35+
/config/master.key

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.2.2

Gemfile

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
source "https://rubygems.org"
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby "3.2.2"
5+
6+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7+
gem "rails", "~> 7.0.7", ">= 7.0.7.2"
8+
9+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
10+
gem "sprockets-rails"
11+
12+
# Use sqlite3 as the database for Active Record
13+
gem "sqlite3", "~> 1.4"
14+
15+
# Use the Puma web server [https://github.com/puma/puma]
16+
gem "puma", "~> 5.0"
17+
18+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
19+
gem "importmap-rails"
20+
21+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
22+
gem "turbo-rails"
23+
24+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
25+
gem "stimulus-rails"
26+
27+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
28+
gem "jbuilder"
29+
30+
# Use Redis adapter to run Action Cable in production
31+
# gem "redis", "~> 4.0"
32+
33+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
34+
# gem "kredis"
35+
36+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
37+
# gem "bcrypt", "~> 3.1.7"
38+
39+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
40+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
41+
42+
# Reduces boot times through caching; required in config/boot.rb
43+
gem "bootsnap", require: false
44+
45+
# Use Sass to process CSS
46+
# gem "sassc-rails"
47+
48+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
49+
# gem "image_processing", "~> 1.2"
50+
51+
group :development, :test do
52+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
53+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
54+
end
55+
56+
group :development do
57+
# Use console on exceptions pages [https://github.com/rails/web-console]
58+
gem "web-console"
59+
60+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
61+
# gem "rack-mini-profiler"
62+
63+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
64+
# gem "spring"
65+
end
66+
67+
group :test do
68+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
69+
gem "capybara"
70+
gem "selenium-webdriver"
71+
gem "webdrivers"
72+
end

Gemfile.lock

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (7.0.8)
5+
actionpack (= 7.0.8)
6+
activesupport (= 7.0.8)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (7.0.8)
10+
actionpack (= 7.0.8)
11+
activejob (= 7.0.8)
12+
activerecord (= 7.0.8)
13+
activestorage (= 7.0.8)
14+
activesupport (= 7.0.8)
15+
mail (>= 2.7.1)
16+
net-imap
17+
net-pop
18+
net-smtp
19+
actionmailer (7.0.8)
20+
actionpack (= 7.0.8)
21+
actionview (= 7.0.8)
22+
activejob (= 7.0.8)
23+
activesupport (= 7.0.8)
24+
mail (~> 2.5, >= 2.5.4)
25+
net-imap
26+
net-pop
27+
net-smtp
28+
rails-dom-testing (~> 2.0)
29+
actionpack (7.0.8)
30+
actionview (= 7.0.8)
31+
activesupport (= 7.0.8)
32+
rack (~> 2.0, >= 2.2.4)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.0)
35+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36+
actiontext (7.0.8)
37+
actionpack (= 7.0.8)
38+
activerecord (= 7.0.8)
39+
activestorage (= 7.0.8)
40+
activesupport (= 7.0.8)
41+
globalid (>= 0.6.0)
42+
nokogiri (>= 1.8.5)
43+
actionview (7.0.8)
44+
activesupport (= 7.0.8)
45+
builder (~> 3.1)
46+
erubi (~> 1.4)
47+
rails-dom-testing (~> 2.0)
48+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49+
activejob (7.0.8)
50+
activesupport (= 7.0.8)
51+
globalid (>= 0.3.6)
52+
activemodel (7.0.8)
53+
activesupport (= 7.0.8)
54+
activerecord (7.0.8)
55+
activemodel (= 7.0.8)
56+
activesupport (= 7.0.8)
57+
activestorage (7.0.8)
58+
actionpack (= 7.0.8)
59+
activejob (= 7.0.8)
60+
activerecord (= 7.0.8)
61+
activesupport (= 7.0.8)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.8)
65+
concurrent-ruby (~> 1.0, >= 1.0.2)
66+
i18n (>= 1.6, < 2)
67+
minitest (>= 5.1)
68+
tzinfo (~> 2.0)
69+
addressable (2.8.5)
70+
public_suffix (>= 2.0.2, < 6.0)
71+
bindex (0.8.1)
72+
bootsnap (1.16.0)
73+
msgpack (~> 1.2)
74+
builder (3.2.4)
75+
capybara (3.39.2)
76+
addressable
77+
matrix
78+
mini_mime (>= 0.1.3)
79+
nokogiri (~> 1.8)
80+
rack (>= 1.6.0)
81+
rack-test (>= 0.6.3)
82+
regexp_parser (>= 1.5, < 3.0)
83+
xpath (~> 3.2)
84+
concurrent-ruby (1.2.2)
85+
crass (1.0.6)
86+
date (3.3.3)
87+
debug (1.8.0)
88+
irb (>= 1.5.0)
89+
reline (>= 0.3.1)
90+
erubi (1.12.0)
91+
globalid (1.2.1)
92+
activesupport (>= 6.1)
93+
i18n (1.14.1)
94+
concurrent-ruby (~> 1.0)
95+
importmap-rails (1.2.1)
96+
actionpack (>= 6.0.0)
97+
railties (>= 6.0.0)
98+
io-console (0.6.0)
99+
irb (1.8.1)
100+
rdoc
101+
reline (>= 0.3.8)
102+
jbuilder (2.11.5)
103+
actionview (>= 5.0.0)
104+
activesupport (>= 5.0.0)
105+
loofah (2.21.3)
106+
crass (~> 1.0.2)
107+
nokogiri (>= 1.12.0)
108+
mail (2.8.1)
109+
mini_mime (>= 0.1.1)
110+
net-imap
111+
net-pop
112+
net-smtp
113+
marcel (1.0.2)
114+
matrix (0.4.2)
115+
method_source (1.0.0)
116+
mini_mime (1.1.5)
117+
minitest (5.20.0)
118+
msgpack (1.7.2)
119+
net-imap (0.3.7)
120+
date
121+
net-protocol
122+
net-pop (0.1.2)
123+
net-protocol
124+
net-protocol (0.2.1)
125+
timeout
126+
net-smtp (0.3.3)
127+
net-protocol
128+
nio4r (2.5.9)
129+
nokogiri (1.15.4-x86_64-linux)
130+
racc (~> 1.4)
131+
psych (5.1.0)
132+
stringio
133+
public_suffix (5.0.3)
134+
puma (5.6.7)
135+
nio4r (~> 2.0)
136+
racc (1.7.1)
137+
rack (2.2.8)
138+
rack-test (2.1.0)
139+
rack (>= 1.3)
140+
rails (7.0.8)
141+
actioncable (= 7.0.8)
142+
actionmailbox (= 7.0.8)
143+
actionmailer (= 7.0.8)
144+
actionpack (= 7.0.8)
145+
actiontext (= 7.0.8)
146+
actionview (= 7.0.8)
147+
activejob (= 7.0.8)
148+
activemodel (= 7.0.8)
149+
activerecord (= 7.0.8)
150+
activestorage (= 7.0.8)
151+
activesupport (= 7.0.8)
152+
bundler (>= 1.15.0)
153+
railties (= 7.0.8)
154+
rails-dom-testing (2.2.0)
155+
activesupport (>= 5.0.0)
156+
minitest
157+
nokogiri (>= 1.6)
158+
rails-html-sanitizer (1.6.0)
159+
loofah (~> 2.21)
160+
nokogiri (~> 1.14)
161+
railties (7.0.8)
162+
actionpack (= 7.0.8)
163+
activesupport (= 7.0.8)
164+
method_source
165+
rake (>= 12.2)
166+
thor (~> 1.0)
167+
zeitwerk (~> 2.5)
168+
rake (13.0.6)
169+
rdoc (6.5.0)
170+
psych (>= 4.0.0)
171+
regexp_parser (2.8.1)
172+
reline (0.3.8)
173+
io-console (~> 0.5)
174+
rexml (3.2.6)
175+
rubyzip (2.3.2)
176+
selenium-webdriver (4.10.0)
177+
rexml (~> 3.2, >= 3.2.5)
178+
rubyzip (>= 1.2.2, < 3.0)
179+
websocket (~> 1.0)
180+
sprockets (4.2.1)
181+
concurrent-ruby (~> 1.0)
182+
rack (>= 2.2.4, < 4)
183+
sprockets-rails (3.4.2)
184+
actionpack (>= 5.2)
185+
activesupport (>= 5.2)
186+
sprockets (>= 3.0.0)
187+
sqlite3 (1.6.5-x86_64-linux)
188+
stimulus-rails (1.2.2)
189+
railties (>= 6.0.0)
190+
stringio (3.0.8)
191+
thor (1.2.2)
192+
timeout (0.4.0)
193+
turbo-rails (1.4.0)
194+
actionpack (>= 6.0.0)
195+
activejob (>= 6.0.0)
196+
railties (>= 6.0.0)
197+
tzinfo (2.0.6)
198+
concurrent-ruby (~> 1.0)
199+
web-console (4.2.1)
200+
actionview (>= 6.0.0)
201+
activemodel (>= 6.0.0)
202+
bindex (>= 0.4.0)
203+
railties (>= 6.0.0)
204+
webdrivers (5.3.1)
205+
nokogiri (~> 1.6)
206+
rubyzip (>= 1.3.0)
207+
selenium-webdriver (~> 4.0, < 4.11)
208+
websocket (1.2.9)
209+
websocket-driver (0.7.6)
210+
websocket-extensions (>= 0.1.0)
211+
websocket-extensions (0.1.5)
212+
xpath (3.2.0)
213+
nokogiri (~> 1.8)
214+
zeitwerk (2.6.11)
215+
216+
PLATFORMS
217+
x86_64-linux
218+
219+
DEPENDENCIES
220+
bootsnap
221+
capybara
222+
debug
223+
importmap-rails
224+
jbuilder
225+
puma (~> 5.0)
226+
rails (~> 7.0.7, >= 7.0.7.2)
227+
selenium-webdriver
228+
sprockets-rails
229+
sqlite3 (~> 1.4)
230+
stimulus-rails
231+
turbo-rails
232+
tzinfo-data
233+
web-console
234+
webdrivers
235+
236+
RUBY VERSION
237+
ruby 3.2.2p53
238+
239+
BUNDLED WITH
240+
2.4.19

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
# recipe-app
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative "config/application"
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//= link_tree ../images
2+
//= link_directory ../stylesheets .css
3+
//= link_tree ../../javascript .js
4+
//= link_tree ../../../vendor/javascript .js

app/assets/images/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)