Skip to content

Commit 7fa5854

Browse files
committed
basic shit
0 parents  commit 7fa5854

File tree

101 files changed

+1998
-0
lines changed

Some content is hidden

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

101 files changed

+1998
-0
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
# Ignore Byebug command history file.
21+
.byebug_history

Gemfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
source 'https://rubygems.org'
2+
3+
4+
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
5+
gem 'puma', '~> 3.0'
6+
gem 'sass-rails', '~> 5.0'
7+
gem 'uglifier', '>= 1.3.0'
8+
gem 'coffee-rails', '~> 4.2'
9+
gem 'pg'
10+
11+
gem 'jquery-rails'
12+
gem 'turbolinks', '~> 5'
13+
gem 'jbuilder', '~> 2.5'
14+
# Use Redis adapter to run Action Cable in production
15+
# gem 'redis', '~> 3.0'
16+
# Use ActiveModel has_secure_password
17+
# gem 'bcrypt', '~> 3.1.7'
18+
19+
# Use Capistrano for deployment
20+
# gem 'capistrano-rails', group: :development
21+
22+
gem 'slim-rails'
23+
gem 'materialize-sass'
24+
gem 'font-awesome-sass'
25+
26+
# vendors
27+
gem 'devise', '~> 4.2.0'
28+
29+
group :development, :test do
30+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
31+
gem 'byebug', platform: :mri
32+
end
33+
34+
group :development do
35+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
36+
gem 'web-console'
37+
gem 'listen', '~> 3.0.5'
38+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
39+
gem 'spring'
40+
gem 'spring-watcher-listen', '~> 2.0.0'
41+
end
42+
43+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
44+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.0.0.1)
5+
actionpack (= 5.0.0.1)
6+
nio4r (~> 1.2)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.0.0.1)
9+
actionpack (= 5.0.0.1)
10+
actionview (= 5.0.0.1)
11+
activejob (= 5.0.0.1)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.0.0.1)
15+
actionview (= 5.0.0.1)
16+
activesupport (= 5.0.0.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.0.0.1)
22+
activesupport (= 5.0.0.1)
23+
builder (~> 3.1)
24+
erubis (~> 2.7.0)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
27+
activejob (5.0.0.1)
28+
activesupport (= 5.0.0.1)
29+
globalid (>= 0.3.6)
30+
activemodel (5.0.0.1)
31+
activesupport (= 5.0.0.1)
32+
activerecord (5.0.0.1)
33+
activemodel (= 5.0.0.1)
34+
activesupport (= 5.0.0.1)
35+
arel (~> 7.0)
36+
activesupport (5.0.0.1)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (~> 0.7)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
arel (7.1.4)
42+
bcrypt (3.1.11)
43+
builder (3.2.2)
44+
byebug (9.0.5)
45+
coffee-rails (4.2.1)
46+
coffee-script (>= 2.2.0)
47+
railties (>= 4.0.0, < 5.2.x)
48+
coffee-script (2.4.1)
49+
coffee-script-source
50+
execjs
51+
coffee-script-source (1.12.2)
52+
concurrent-ruby (1.0.4)
53+
debug_inspector (0.0.2)
54+
devise (4.2.0)
55+
bcrypt (~> 3.0)
56+
orm_adapter (~> 0.1)
57+
railties (>= 4.1.0, < 5.1)
58+
responders
59+
warden (~> 1.2.3)
60+
erubis (2.7.0)
61+
execjs (2.7.0)
62+
ffi (1.9.14)
63+
font-awesome-sass (4.6.2)
64+
sass (>= 3.2)
65+
globalid (0.3.7)
66+
activesupport (>= 4.1.0)
67+
i18n (0.7.0)
68+
jbuilder (2.6.0)
69+
activesupport (>= 3.0.0, < 5.1)
70+
multi_json (~> 1.2)
71+
jquery-rails (4.2.1)
72+
rails-dom-testing (>= 1, < 3)
73+
railties (>= 4.2.0)
74+
thor (>= 0.14, < 2.0)
75+
listen (3.0.8)
76+
rb-fsevent (~> 0.9, >= 0.9.4)
77+
rb-inotify (~> 0.9, >= 0.9.7)
78+
loofah (2.0.3)
79+
nokogiri (>= 1.5.9)
80+
mail (2.6.4)
81+
mime-types (>= 1.16, < 4)
82+
materialize-sass (0.97.6)
83+
sass (~> 3.3)
84+
method_source (0.8.2)
85+
mime-types (3.1)
86+
mime-types-data (~> 3.2015)
87+
mime-types-data (3.2016.0521)
88+
mini_portile2 (2.1.0)
89+
minitest (5.10.1)
90+
multi_json (1.12.1)
91+
nio4r (1.2.1)
92+
nokogiri (1.6.8)
93+
mini_portile2 (~> 2.1.0)
94+
pkg-config (~> 1.1.7)
95+
orm_adapter (0.5.0)
96+
pg (0.19.0)
97+
pkg-config (1.1.7)
98+
puma (3.6.0)
99+
rack (2.0.1)
100+
rack-test (0.6.3)
101+
rack (>= 1.0)
102+
rails (5.0.0.1)
103+
actioncable (= 5.0.0.1)
104+
actionmailer (= 5.0.0.1)
105+
actionpack (= 5.0.0.1)
106+
actionview (= 5.0.0.1)
107+
activejob (= 5.0.0.1)
108+
activemodel (= 5.0.0.1)
109+
activerecord (= 5.0.0.1)
110+
activesupport (= 5.0.0.1)
111+
bundler (>= 1.3.0, < 2.0)
112+
railties (= 5.0.0.1)
113+
sprockets-rails (>= 2.0.0)
114+
rails-dom-testing (2.0.1)
115+
activesupport (>= 4.2.0, < 6.0)
116+
nokogiri (~> 1.6.0)
117+
rails-html-sanitizer (1.0.3)
118+
loofah (~> 2.0)
119+
railties (5.0.0.1)
120+
actionpack (= 5.0.0.1)
121+
activesupport (= 5.0.0.1)
122+
method_source
123+
rake (>= 0.8.7)
124+
thor (>= 0.18.1, < 2.0)
125+
rake (12.0.0)
126+
rb-fsevent (0.9.8)
127+
rb-inotify (0.9.7)
128+
ffi (>= 0.5.0)
129+
responders (2.3.0)
130+
railties (>= 4.2.0, < 5.1)
131+
sass (3.4.23)
132+
sass-rails (5.0.6)
133+
railties (>= 4.0.0, < 6)
134+
sass (~> 3.1)
135+
sprockets (>= 2.8, < 4.0)
136+
sprockets-rails (>= 2.0, < 4.0)
137+
tilt (>= 1.1, < 3)
138+
slim (3.0.7)
139+
temple (~> 0.7.6)
140+
tilt (>= 1.3.3, < 2.1)
141+
slim-rails (3.1.1)
142+
actionpack (>= 3.1)
143+
railties (>= 3.1)
144+
slim (~> 3.0)
145+
spring (1.7.2)
146+
spring-watcher-listen (2.0.0)
147+
listen (>= 2.7, < 4.0)
148+
spring (~> 1.2)
149+
sprockets (3.7.1)
150+
concurrent-ruby (~> 1.0)
151+
rack (> 1, < 3)
152+
sprockets-rails (3.1.1)
153+
actionpack (>= 4.0)
154+
activesupport (>= 4.0)
155+
sprockets (>= 3.0.0)
156+
temple (0.7.7)
157+
thor (0.19.4)
158+
thread_safe (0.3.5)
159+
tilt (2.0.5)
160+
turbolinks (5.0.1)
161+
turbolinks-source (~> 5)
162+
turbolinks-source (5.0.0)
163+
tzinfo (1.2.2)
164+
thread_safe (~> 0.1)
165+
uglifier (3.0.2)
166+
execjs (>= 0.3.0, < 3)
167+
warden (1.2.6)
168+
rack (>= 1.0)
169+
web-console (3.3.1)
170+
actionview (>= 5.0)
171+
activemodel (>= 5.0)
172+
debug_inspector
173+
railties (>= 5.0)
174+
websocket-driver (0.6.4)
175+
websocket-extensions (>= 0.1.0)
176+
websocket-extensions (0.1.2)
177+
178+
PLATFORMS
179+
ruby
180+
181+
DEPENDENCIES
182+
byebug
183+
coffee-rails (~> 4.2)
184+
devise (~> 4.2.0)
185+
font-awesome-sass
186+
jbuilder (~> 2.5)
187+
jquery-rails
188+
listen (~> 3.0.5)
189+
materialize-sass
190+
pg
191+
puma (~> 3.0)
192+
rails (~> 5.0.0, >= 5.0.0.1)
193+
sass-rails (~> 5.0)
194+
slim-rails
195+
spring
196+
spring-watcher-listen (~> 2.0.0)
197+
turbolinks (~> 5)
198+
tzinfo-data
199+
uglifier (>= 1.3.0)
200+
web-console
201+
202+
BUNDLED WITH
203+
1.12.4

README.md

Lines changed: 24 additions & 0 deletions
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

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: 3 additions & 0 deletions
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/javascripts/application.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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, vendor/assets/javascripts,
5+
// or any plugin's 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 jquery
14+
//= require jquery_ujs
15+
//= require turbolinks
16+
//= require materialize-sprockets
17+
//= require_tree .

app/assets/javascripts/cable.js

Lines changed: 13 additions & 0 deletions
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.

0 commit comments

Comments
 (0)