Skip to content

Commit fe38215

Browse files
committed
Initialize Rails app
0 parents  commit fe38215

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

+1424
-0
lines changed

.gitattributes

+7
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

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
# Ignore uploaded files in development.
22+
/storage/*
23+
!/storage/.keep
24+
/tmp/storage/*
25+
!/tmp/storage/
26+
!/tmp/storage/.keep
27+
28+
/public/assets
29+
30+
# Ignore master key for decrypting credentials and more.
31+
/config/master.key

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.2.0

Gemfile

+72
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.0"
5+
6+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7+
gem "rails", "~> 7.0.4", ">= 7.0.4.2"
8+
9+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
10+
gem "sprockets-rails"
11+
12+
# Use postgresql as the database for Active Record
13+
gem "pg", "~> 1.1"
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

+234
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (7.0.4.3)
5+
actionpack (= 7.0.4.3)
6+
activesupport (= 7.0.4.3)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (7.0.4.3)
10+
actionpack (= 7.0.4.3)
11+
activejob (= 7.0.4.3)
12+
activerecord (= 7.0.4.3)
13+
activestorage (= 7.0.4.3)
14+
activesupport (= 7.0.4.3)
15+
mail (>= 2.7.1)
16+
net-imap
17+
net-pop
18+
net-smtp
19+
actionmailer (7.0.4.3)
20+
actionpack (= 7.0.4.3)
21+
actionview (= 7.0.4.3)
22+
activejob (= 7.0.4.3)
23+
activesupport (= 7.0.4.3)
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.4.3)
30+
actionview (= 7.0.4.3)
31+
activesupport (= 7.0.4.3)
32+
rack (~> 2.0, >= 2.2.0)
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.4.3)
37+
actionpack (= 7.0.4.3)
38+
activerecord (= 7.0.4.3)
39+
activestorage (= 7.0.4.3)
40+
activesupport (= 7.0.4.3)
41+
globalid (>= 0.6.0)
42+
nokogiri (>= 1.8.5)
43+
actionview (7.0.4.3)
44+
activesupport (= 7.0.4.3)
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.4.3)
50+
activesupport (= 7.0.4.3)
51+
globalid (>= 0.3.6)
52+
activemodel (7.0.4.3)
53+
activesupport (= 7.0.4.3)
54+
activerecord (7.0.4.3)
55+
activemodel (= 7.0.4.3)
56+
activesupport (= 7.0.4.3)
57+
activestorage (7.0.4.3)
58+
actionpack (= 7.0.4.3)
59+
activejob (= 7.0.4.3)
60+
activerecord (= 7.0.4.3)
61+
activesupport (= 7.0.4.3)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.4.3)
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.4)
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.1)
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.1.0)
92+
activesupport (>= 5.0)
93+
i18n (1.13.0)
94+
concurrent-ruby (~> 1.0)
95+
importmap-rails (1.1.6)
96+
actionpack (>= 6.0.0)
97+
railties (>= 6.0.0)
98+
io-console (0.6.0)
99+
irb (1.6.4)
100+
reline (>= 0.3.0)
101+
jbuilder (2.11.5)
102+
actionview (>= 5.0.0)
103+
activesupport (>= 5.0.0)
104+
loofah (2.21.3)
105+
crass (~> 1.0.2)
106+
nokogiri (>= 1.12.0)
107+
mail (2.8.1)
108+
mini_mime (>= 0.1.1)
109+
net-imap
110+
net-pop
111+
net-smtp
112+
marcel (1.0.2)
113+
matrix (0.4.2)
114+
method_source (1.0.0)
115+
mini_mime (1.1.2)
116+
minitest (5.18.0)
117+
msgpack (1.7.0)
118+
net-imap (0.3.4)
119+
date
120+
net-protocol
121+
net-pop (0.1.2)
122+
net-protocol
123+
net-protocol (0.2.1)
124+
timeout
125+
net-smtp (0.3.3)
126+
net-protocol
127+
nio4r (2.5.9)
128+
nokogiri (1.15.0-arm64-darwin)
129+
racc (~> 1.4)
130+
pg (1.5.3)
131+
public_suffix (5.0.1)
132+
puma (5.6.5)
133+
nio4r (~> 2.0)
134+
racc (1.6.2)
135+
rack (2.2.7)
136+
rack-test (2.1.0)
137+
rack (>= 1.3)
138+
rails (7.0.4.3)
139+
actioncable (= 7.0.4.3)
140+
actionmailbox (= 7.0.4.3)
141+
actionmailer (= 7.0.4.3)
142+
actionpack (= 7.0.4.3)
143+
actiontext (= 7.0.4.3)
144+
actionview (= 7.0.4.3)
145+
activejob (= 7.0.4.3)
146+
activemodel (= 7.0.4.3)
147+
activerecord (= 7.0.4.3)
148+
activestorage (= 7.0.4.3)
149+
activesupport (= 7.0.4.3)
150+
bundler (>= 1.15.0)
151+
railties (= 7.0.4.3)
152+
rails-dom-testing (2.0.3)
153+
activesupport (>= 4.2.0)
154+
nokogiri (>= 1.6)
155+
rails-html-sanitizer (1.5.0)
156+
loofah (~> 2.19, >= 2.19.1)
157+
railties (7.0.4.3)
158+
actionpack (= 7.0.4.3)
159+
activesupport (= 7.0.4.3)
160+
method_source
161+
rake (>= 12.2)
162+
thor (~> 1.0)
163+
zeitwerk (~> 2.5)
164+
rake (13.0.6)
165+
redis (4.8.1)
166+
regexp_parser (2.8.0)
167+
reline (0.3.3)
168+
io-console (~> 0.5)
169+
rexml (3.2.5)
170+
rubyzip (2.3.2)
171+
selenium-webdriver (4.9.1)
172+
rexml (~> 3.2, >= 3.2.5)
173+
rubyzip (>= 1.2.2, < 3.0)
174+
websocket (~> 1.0)
175+
sprockets (4.2.0)
176+
concurrent-ruby (~> 1.0)
177+
rack (>= 2.2.4, < 4)
178+
sprockets-rails (3.4.2)
179+
actionpack (>= 5.2)
180+
activesupport (>= 5.2)
181+
sprockets (>= 3.0.0)
182+
stimulus-rails (1.2.1)
183+
railties (>= 6.0.0)
184+
thor (1.2.2)
185+
timeout (0.3.2)
186+
turbo-rails (1.4.0)
187+
actionpack (>= 6.0.0)
188+
activejob (>= 6.0.0)
189+
railties (>= 6.0.0)
190+
tzinfo (2.0.6)
191+
concurrent-ruby (~> 1.0)
192+
web-console (4.2.0)
193+
actionview (>= 6.0.0)
194+
activemodel (>= 6.0.0)
195+
bindex (>= 0.4.0)
196+
railties (>= 6.0.0)
197+
webdrivers (5.2.0)
198+
nokogiri (~> 1.6)
199+
rubyzip (>= 1.3.0)
200+
selenium-webdriver (~> 4.0)
201+
websocket (1.2.9)
202+
websocket-driver (0.7.5)
203+
websocket-extensions (>= 0.1.0)
204+
websocket-extensions (0.1.5)
205+
xpath (3.2.0)
206+
nokogiri (~> 1.8)
207+
zeitwerk (2.6.8)
208+
209+
PLATFORMS
210+
arm64-darwin-21
211+
212+
DEPENDENCIES
213+
bootsnap
214+
capybara
215+
debug
216+
importmap-rails
217+
jbuilder
218+
pg (~> 1.1)
219+
puma (~> 5.0)
220+
rails (~> 7.0.4, >= 7.0.4.2)
221+
redis (~> 4.0)
222+
selenium-webdriver
223+
sprockets-rails
224+
stimulus-rails
225+
turbo-rails
226+
tzinfo-data
227+
web-console
228+
webdrivers
229+
230+
RUBY VERSION
231+
ruby 3.2.0p0
232+
233+
BUNDLED WITH
234+
2.4.1

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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

+6
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

+4
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)