Skip to content

Commit 6588adc

Browse files
committed
Bulma styling, show page, add/update to cart
0 parents  commit 6588adc

File tree

225 files changed

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

225 files changed

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

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
9+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10+
gem 'rails', '~> 5.1.6'
11+
# Use sqlite3 as the database for Active Record
12+
gem 'sqlite3'
13+
# Use Puma as the app server
14+
gem 'puma', '~> 3.7'
15+
# Use SCSS for stylesheets
16+
gem 'sass-rails', '~> 5.0'
17+
# Use Uglifier as compressor for JavaScript assets
18+
gem 'uglifier', '>= 1.3.0'
19+
# See https://github.com/rails/execjs#readme for more supported runtimes
20+
# gem 'therubyracer', platforms: :ruby
21+
22+
# Use CoffeeScript for .coffee assets and views
23+
gem 'coffee-rails', '~> 4.2'
24+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25+
gem 'turbolinks', '~> 5'
26+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27+
gem 'jbuilder', '~> 2.5'
28+
# Use Redis adapter to run Action Cable in production
29+
# gem 'redis', '~> 4.0'
30+
# Use ActiveModel has_secure_password
31+
# gem 'bcrypt', '~> 3.1.7'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
group :development, :test do
37+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
38+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
39+
# Adds support for Capybara system testing and selenium driver
40+
gem 'capybara', '~> 2.13'
41+
gem 'selenium-webdriver'
42+
gem 'better_errors' , '~> 2.4'
43+
gem 'guard' , '~> 2.14' , '>= 2.14.1'
44+
gem 'guard-livereload' , '~> 2.5' , '>= 2.5.2'
45+
end
46+
47+
group :development do
48+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
49+
gem 'web-console', '>= 3.3.0'
50+
gem 'listen', '>= 3.0.5', '< 3.2'
51+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
52+
gem 'spring'
53+
gem 'spring-watcher-listen', '~> 2.0.0'
54+
end
55+
56+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
57+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
58+
59+
60+
gem 'bulma-rails', '~> 0.7.1'
61+
gem 'simple_form', '~> 3.5'
62+
gem 'devise', '~> 4.4'
63+
gem 'gravatar_image_tag','~> 1.2'
64+
gem 'carrierwave'
65+
gem 'mini_magick'
66+
gem "font-awesome-rails"

Gemfile.lock

+270
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.1.6)
5+
actionpack (= 5.1.6)
6+
nio4r (~> 2.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.1.6)
9+
actionpack (= 5.1.6)
10+
actionview (= 5.1.6)
11+
activejob (= 5.1.6)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.1.6)
15+
actionview (= 5.1.6)
16+
activesupport (= 5.1.6)
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)
22+
activesupport (= 5.1.6)
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)
28+
activesupport (= 5.1.6)
29+
globalid (>= 0.3.6)
30+
activemodel (5.1.6)
31+
activesupport (= 5.1.6)
32+
activerecord (5.1.6)
33+
activemodel (= 5.1.6)
34+
activesupport (= 5.1.6)
35+
arel (~> 8.0)
36+
activesupport (5.1.6)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (>= 0.7, < 2)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
addressable (2.5.2)
42+
public_suffix (>= 2.0.2, < 4.0)
43+
arel (8.0.0)
44+
bcrypt (3.1.12)
45+
better_errors (2.4.0)
46+
coderay (>= 1.0.0)
47+
erubi (>= 1.0.0)
48+
rack (>= 0.9.0)
49+
bindex (0.5.0)
50+
builder (3.2.3)
51+
bulma-rails (0.7.1)
52+
sass (~> 3.2)
53+
byebug (10.0.2)
54+
capybara (2.18.0)
55+
addressable
56+
mini_mime (>= 0.1.3)
57+
nokogiri (>= 1.3.3)
58+
rack (>= 1.0.0)
59+
rack-test (>= 0.5.4)
60+
xpath (>= 2.0, < 4.0)
61+
carrierwave (1.2.3)
62+
activemodel (>= 4.0.0)
63+
activesupport (>= 4.0.0)
64+
mime-types (>= 1.16)
65+
childprocess (0.9.0)
66+
ffi (~> 1.0, >= 1.0.11)
67+
coderay (1.1.2)
68+
coffee-rails (4.2.2)
69+
coffee-script (>= 2.2.0)
70+
railties (>= 4.0.0)
71+
coffee-script (2.4.1)
72+
coffee-script-source
73+
execjs
74+
coffee-script-source (1.12.2)
75+
concurrent-ruby (1.0.5)
76+
crass (1.0.4)
77+
devise (4.4.3)
78+
bcrypt (~> 3.0)
79+
orm_adapter (~> 0.1)
80+
railties (>= 4.1.0, < 6.0)
81+
responders
82+
warden (~> 1.2.3)
83+
em-websocket (0.5.1)
84+
eventmachine (>= 0.12.9)
85+
http_parser.rb (~> 0.6.0)
86+
erubi (1.7.1)
87+
eventmachine (1.2.7)
88+
execjs (2.7.0)
89+
ffi (1.9.25)
90+
font-awesome-rails (4.7.0.4)
91+
railties (>= 3.2, < 6.0)
92+
formatador (0.2.5)
93+
globalid (0.4.1)
94+
activesupport (>= 4.2.0)
95+
gravatar_image_tag (1.2.0)
96+
guard (2.14.2)
97+
formatador (>= 0.2.4)
98+
listen (>= 2.7, < 4.0)
99+
lumberjack (>= 1.0.12, < 2.0)
100+
nenv (~> 0.1)
101+
notiffany (~> 0.0)
102+
pry (>= 0.9.12)
103+
shellany (~> 0.0)
104+
thor (>= 0.18.1)
105+
guard-compat (1.2.1)
106+
guard-livereload (2.5.2)
107+
em-websocket (~> 0.5)
108+
guard (~> 2.8)
109+
guard-compat (~> 1.0)
110+
multi_json (~> 1.8)
111+
http_parser.rb (0.6.0)
112+
i18n (1.0.1)
113+
concurrent-ruby (~> 1.0)
114+
jbuilder (2.7.0)
115+
activesupport (>= 4.2.0)
116+
multi_json (>= 1.2)
117+
listen (3.1.5)
118+
rb-fsevent (~> 0.9, >= 0.9.4)
119+
rb-inotify (~> 0.9, >= 0.9.7)
120+
ruby_dep (~> 1.2)
121+
loofah (2.2.2)
122+
crass (~> 1.0.2)
123+
nokogiri (>= 1.5.9)
124+
lumberjack (1.0.13)
125+
mail (2.7.0)
126+
mini_mime (>= 0.1.1)
127+
method_source (0.9.0)
128+
mime-types (3.1)
129+
mime-types-data (~> 3.2015)
130+
mime-types-data (3.2016.0521)
131+
mini_magick (4.8.0)
132+
mini_mime (1.0.0)
133+
mini_portile2 (2.3.0)
134+
minitest (5.11.3)
135+
multi_json (1.13.1)
136+
nenv (0.3.0)
137+
nio4r (2.3.1)
138+
nokogiri (1.8.4)
139+
mini_portile2 (~> 2.3.0)
140+
notiffany (0.1.1)
141+
nenv (~> 0.1)
142+
shellany (~> 0.0)
143+
orm_adapter (0.5.0)
144+
pry (0.11.3)
145+
coderay (~> 1.1.0)
146+
method_source (~> 0.9.0)
147+
public_suffix (3.0.2)
148+
puma (3.12.0)
149+
rack (2.0.5)
150+
rack-test (1.0.0)
151+
rack (>= 1.0, < 3)
152+
rails (5.1.6)
153+
actioncable (= 5.1.6)
154+
actionmailer (= 5.1.6)
155+
actionpack (= 5.1.6)
156+
actionview (= 5.1.6)
157+
activejob (= 5.1.6)
158+
activemodel (= 5.1.6)
159+
activerecord (= 5.1.6)
160+
activesupport (= 5.1.6)
161+
bundler (>= 1.3.0)
162+
railties (= 5.1.6)
163+
sprockets-rails (>= 2.0.0)
164+
rails-dom-testing (2.0.3)
165+
activesupport (>= 4.2.0)
166+
nokogiri (>= 1.6)
167+
rails-html-sanitizer (1.0.4)
168+
loofah (~> 2.2, >= 2.2.2)
169+
railties (5.1.6)
170+
actionpack (= 5.1.6)
171+
activesupport (= 5.1.6)
172+
method_source
173+
rake (>= 0.8.7)
174+
thor (>= 0.18.1, < 2.0)
175+
rake (12.3.1)
176+
rb-fsevent (0.10.3)
177+
rb-inotify (0.9.10)
178+
ffi (>= 0.5.0, < 2)
179+
responders (2.4.0)
180+
actionpack (>= 4.2.0, < 5.3)
181+
railties (>= 4.2.0, < 5.3)
182+
ruby_dep (1.5.0)
183+
rubyzip (1.2.1)
184+
sass (3.5.7)
185+
sass-listen (~> 4.0.0)
186+
sass-listen (4.0.0)
187+
rb-fsevent (~> 0.9, >= 0.9.4)
188+
rb-inotify (~> 0.9, >= 0.9.7)
189+
sass-rails (5.0.7)
190+
railties (>= 4.0.0, < 6)
191+
sass (~> 3.1)
192+
sprockets (>= 2.8, < 4.0)
193+
sprockets-rails (>= 2.0, < 4.0)
194+
tilt (>= 1.1, < 3)
195+
selenium-webdriver (3.13.1)
196+
childprocess (~> 0.5)
197+
rubyzip (~> 1.2)
198+
shellany (0.0.1)
199+
simple_form (3.5.1)
200+
actionpack (> 4, < 5.2)
201+
activemodel (> 4, < 5.2)
202+
spring (2.0.2)
203+
activesupport (>= 4.2)
204+
spring-watcher-listen (2.0.1)
205+
listen (>= 2.7, < 4.0)
206+
spring (>= 1.2, < 3.0)
207+
sprockets (3.7.2)
208+
concurrent-ruby (~> 1.0)
209+
rack (> 1, < 3)
210+
sprockets-rails (3.2.1)
211+
actionpack (>= 4.0)
212+
activesupport (>= 4.0)
213+
sprockets (>= 3.0.0)
214+
sqlite3 (1.3.13)
215+
thor (0.20.0)
216+
thread_safe (0.3.6)
217+
tilt (2.0.8)
218+
turbolinks (5.1.1)
219+
turbolinks-source (~> 5.1)
220+
turbolinks-source (5.1.0)
221+
tzinfo (1.2.5)
222+
thread_safe (~> 0.1)
223+
uglifier (4.1.15)
224+
execjs (>= 0.3.0, < 3)
225+
warden (1.2.7)
226+
rack (>= 1.0)
227+
web-console (3.6.2)
228+
actionview (>= 5.0)
229+
activemodel (>= 5.0)
230+
bindex (>= 0.4.0)
231+
railties (>= 5.0)
232+
websocket-driver (0.6.5)
233+
websocket-extensions (>= 0.1.0)
234+
websocket-extensions (0.1.3)
235+
xpath (3.1.0)
236+
nokogiri (~> 1.8)
237+
238+
PLATFORMS
239+
ruby
240+
241+
DEPENDENCIES
242+
better_errors (~> 2.4)
243+
bulma-rails (~> 0.7.1)
244+
byebug
245+
capybara (~> 2.13)
246+
carrierwave
247+
coffee-rails (~> 4.2)
248+
devise (~> 4.4)
249+
font-awesome-rails
250+
gravatar_image_tag (~> 1.2)
251+
guard (~> 2.14, >= 2.14.1)
252+
guard-livereload (~> 2.5, >= 2.5.2)
253+
jbuilder (~> 2.5)
254+
listen (>= 3.0.5, < 3.2)
255+
mini_magick
256+
puma (~> 3.7)
257+
rails (~> 5.1.6)
258+
sass-rails (~> 5.0)
259+
selenium-webdriver
260+
simple_form (~> 3.5)
261+
spring
262+
spring-watcher-listen (~> 2.0.0)
263+
sqlite3
264+
turbolinks (~> 5)
265+
tzinfo-data
266+
uglifier (>= 1.3.0)
267+
web-console (>= 3.3.0)
268+
269+
BUNDLED WITH
270+
1.16.2

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

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

0 commit comments

Comments
 (0)