Skip to content

Commit 75585b9

Browse files
committed
Start work on initial RR landing page
1 parent 51526b7 commit 75585b9

Some content is hidden

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

82 files changed

+4912
-2
lines changed

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
/node_modules
21+
/yarn-error.log
22+
23+
.byebug_history

Gemfile

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
source 'https://rubygems.org'
2+
3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
8+
# Application specific gems
9+
gem 'jquery-rails'
10+
gem 'bootstrap', '4.1.1'
11+
gem 'material-sass', '4.1.1'
12+
13+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
14+
gem 'rails', '~> 5.1.3'
15+
# Use sqlite3 as the database for Active Record
16+
gem 'sqlite3'
17+
# Use Puma as the app server
18+
gem 'puma', '~> 3.7'
19+
# Use SCSS for stylesheets
20+
gem 'sass-rails', '~> 5.0'
21+
# Use Uglifier as compressor for JavaScript assets
22+
gem 'uglifier', '>= 1.3.0'
23+
# See https://github.com/rails/execjs#readme for more supported runtimes
24+
# gem 'therubyracer', platforms: :ruby
25+
26+
# Use CoffeeScript for .coffee assets and views
27+
gem 'coffee-rails', '~> 4.2'
28+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
29+
gem 'turbolinks', '~> 5'
30+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
31+
gem 'jbuilder', '~> 2.5'
32+
# Use Redis adapter to run Action Cable in production
33+
# gem 'redis', '~> 3.0'
34+
# Use ActiveModel has_secure_password
35+
# gem 'bcrypt', '~> 3.1.7'
36+
37+
# Use Capistrano for deployment
38+
# gem 'capistrano-rails', group: :development
39+
40+
group :development, :test do
41+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
42+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
43+
# Adds support for Capybara system testing and selenium driver
44+
gem 'capybara', '~> 2.13'
45+
gem 'selenium-webdriver'
46+
end
47+
48+
group :development do
49+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
50+
gem 'web-console', '>= 3.3.0'
51+
end
52+
53+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
54+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

+202
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.1.6.1)
5+
actionpack (= 5.1.6.1)
6+
nio4r (~> 2.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.1.6.1)
9+
actionpack (= 5.1.6.1)
10+
actionview (= 5.1.6.1)
11+
activejob (= 5.1.6.1)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.1.6.1)
15+
actionview (= 5.1.6.1)
16+
activesupport (= 5.1.6.1)
17+
rack (~> 2.0)
18+
rack-test (>= 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.1.6.1)
22+
activesupport (= 5.1.6.1)
23+
builder (~> 3.1)
24+
erubi (~> 1.4)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.1.6.1)
28+
activesupport (= 5.1.6.1)
29+
globalid (>= 0.3.6)
30+
activemodel (5.1.6.1)
31+
activesupport (= 5.1.6.1)
32+
activerecord (5.1.6.1)
33+
activemodel (= 5.1.6.1)
34+
activesupport (= 5.1.6.1)
35+
arel (~> 8.0)
36+
activesupport (5.1.6.1)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (>= 0.7, < 2)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
addressable (2.6.0)
42+
public_suffix (>= 2.0.2, < 4.0)
43+
arel (8.0.0)
44+
autoprefixer-rails (9.4.5)
45+
execjs
46+
bindex (0.5.0)
47+
bootstrap (4.1.1)
48+
autoprefixer-rails (>= 6.0.3)
49+
popper_js (>= 1.12.9, < 2)
50+
sass (>= 3.5.2)
51+
builder (3.2.3)
52+
byebug (10.0.2)
53+
capybara (2.18.0)
54+
addressable
55+
mini_mime (>= 0.1.3)
56+
nokogiri (>= 1.3.3)
57+
rack (>= 1.0.0)
58+
rack-test (>= 0.5.4)
59+
xpath (>= 2.0, < 4.0)
60+
childprocess (0.9.0)
61+
ffi (~> 1.0, >= 1.0.11)
62+
coffee-rails (4.2.2)
63+
coffee-script (>= 2.2.0)
64+
railties (>= 4.0.0)
65+
coffee-script (2.4.1)
66+
coffee-script-source
67+
execjs
68+
coffee-script-source (1.12.2)
69+
concurrent-ruby (1.1.4)
70+
crass (1.0.4)
71+
erubi (1.8.0)
72+
execjs (2.7.0)
73+
ffi (1.10.0-x86-mingw32)
74+
globalid (0.4.2)
75+
activesupport (>= 4.2.0)
76+
i18n (1.5.2)
77+
concurrent-ruby (~> 1.0)
78+
jbuilder (2.8.0)
79+
activesupport (>= 4.2.0)
80+
multi_json (>= 1.2)
81+
jquery-rails (4.3.3)
82+
rails-dom-testing (>= 1, < 3)
83+
railties (>= 4.2.0)
84+
thor (>= 0.14, < 2.0)
85+
loofah (2.2.3)
86+
crass (~> 1.0.2)
87+
nokogiri (>= 1.5.9)
88+
mail (2.7.1)
89+
mini_mime (>= 0.1.1)
90+
material-sass (4.1.1)
91+
autoprefixer-rails (>= 6.0.3)
92+
sass (>= 3.5.2)
93+
method_source (0.9.2)
94+
mini_mime (1.0.1)
95+
mini_portile2 (2.4.0)
96+
minitest (5.11.3)
97+
multi_json (1.13.1)
98+
nio4r (2.3.1)
99+
nokogiri (1.10.1-x86-mingw32)
100+
mini_portile2 (~> 2.4.0)
101+
popper_js (1.14.5)
102+
public_suffix (3.0.3)
103+
puma (3.12.0)
104+
rack (2.0.6)
105+
rack-test (1.1.0)
106+
rack (>= 1.0, < 3)
107+
rails (5.1.6.1)
108+
actioncable (= 5.1.6.1)
109+
actionmailer (= 5.1.6.1)
110+
actionpack (= 5.1.6.1)
111+
actionview (= 5.1.6.1)
112+
activejob (= 5.1.6.1)
113+
activemodel (= 5.1.6.1)
114+
activerecord (= 5.1.6.1)
115+
activesupport (= 5.1.6.1)
116+
bundler (>= 1.3.0)
117+
railties (= 5.1.6.1)
118+
sprockets-rails (>= 2.0.0)
119+
rails-dom-testing (2.0.3)
120+
activesupport (>= 4.2.0)
121+
nokogiri (>= 1.6)
122+
rails-html-sanitizer (1.0.4)
123+
loofah (~> 2.2, >= 2.2.2)
124+
railties (5.1.6.1)
125+
actionpack (= 5.1.6.1)
126+
activesupport (= 5.1.6.1)
127+
method_source
128+
rake (>= 0.8.7)
129+
thor (>= 0.18.1, < 2.0)
130+
rake (12.3.2)
131+
rb-fsevent (0.10.3)
132+
rb-inotify (0.10.0)
133+
ffi (~> 1.0)
134+
rubyzip (1.2.2)
135+
sass (3.7.3)
136+
sass-listen (~> 4.0.0)
137+
sass-listen (4.0.0)
138+
rb-fsevent (~> 0.9, >= 0.9.4)
139+
rb-inotify (~> 0.9, >= 0.9.7)
140+
sass-rails (5.0.7)
141+
railties (>= 4.0.0, < 6)
142+
sass (~> 3.1)
143+
sprockets (>= 2.8, < 4.0)
144+
sprockets-rails (>= 2.0, < 4.0)
145+
tilt (>= 1.1, < 3)
146+
selenium-webdriver (3.141.0)
147+
childprocess (~> 0.5)
148+
rubyzip (~> 1.2, >= 1.2.2)
149+
sprockets (3.7.2)
150+
concurrent-ruby (~> 1.0)
151+
rack (> 1, < 3)
152+
sprockets-rails (3.2.1)
153+
actionpack (>= 4.0)
154+
activesupport (>= 4.0)
155+
sprockets (>= 3.0.0)
156+
sqlite3 (1.3.13-x86-mingw32)
157+
thor (0.20.3)
158+
thread_safe (0.3.6)
159+
tilt (2.0.9)
160+
turbolinks (5.2.0)
161+
turbolinks-source (~> 5.2)
162+
turbolinks-source (5.2.0)
163+
tzinfo (1.2.5)
164+
thread_safe (~> 0.1)
165+
tzinfo-data (1.2018.9)
166+
tzinfo (>= 1.0.0)
167+
uglifier (4.1.20)
168+
execjs (>= 0.3.0, < 3)
169+
web-console (3.7.0)
170+
actionview (>= 5.0)
171+
activemodel (>= 5.0)
172+
bindex (>= 0.4.0)
173+
railties (>= 5.0)
174+
websocket-driver (0.6.5)
175+
websocket-extensions (>= 0.1.0)
176+
websocket-extensions (0.1.3)
177+
xpath (3.2.0)
178+
nokogiri (~> 1.8)
179+
180+
PLATFORMS
181+
x86-mingw32
182+
183+
DEPENDENCIES
184+
bootstrap (= 4.1.1)
185+
byebug
186+
capybara (~> 2.13)
187+
coffee-rails (~> 4.2)
188+
jbuilder (~> 2.5)
189+
jquery-rails
190+
material-sass (= 4.1.1)
191+
puma (~> 3.7)
192+
rails (~> 5.1.3)
193+
sass-rails (~> 5.0)
194+
selenium-webdriver
195+
sqlite3
196+
turbolinks (~> 5)
197+
tzinfo-data
198+
uglifier (>= 1.3.0)
199+
web-console (>= 3.3.0)
200+
201+
BUNDLED WITH
202+
2.0.1

README.md

+24-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# wetrockpolice
2-
Helps the climbing community determine when Red Rock is safe to climb.
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

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

app/assets/images/.keep

Whitespace-only changes.

app/assets/images/hero-image.jpg

4.1 MB
Loading

app/assets/javascripts/application.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5+
// vendor/assets/javascripts directory can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require rails-ujs
14+
//= require turbolinks
15+
//= require jquery
16+
//= require popper
17+
//= require bootstrap
18+
//= require material
19+
//= require_tree .

app/assets/javascripts/cable.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Action Cable provides the framework to deal with WebSockets in Rails.
2+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
3+
//
4+
//= require action_cable
5+
//= require_self
6+
//= require_tree ./channels
7+
8+
(function() {
9+
this.App || (this.App = {});
10+
11+
App.cable = ActionCable.createConsumer();
12+
13+
}).call(this);

app/assets/javascripts/channels/.keep

Whitespace-only changes.

app/assets/javascripts/redrock.js

Whitespace-only changes.
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
16+
17+
@import "material";
18+
@import "animations";
19+
@import url('https://fonts.googleapis.com/css?family=Raleway:400,500');
20+
@import "https://fonts.googleapis.com/icon?family=Material+Icons";
21+
22+
html, body {
23+
width: 100%;
24+
height: 100%;
25+
font-family: 'Raleway', sans-serif;
26+
}
27+
28+
.container {
29+
max-width: 1280px;
30+
}
31+
32+
.row {
33+
width: 100%;
34+
margin: 0 auto;
35+
}

0 commit comments

Comments
 (0)