Skip to content

Commit 373be38

Browse files
committedOct 4, 2015
- Add bootstrap gem to app and create basic static pages.
- Add additional files to gitignore. - Add rspec format file. - Create application helper for page title. - Update readme.
1 parent 46e2b99 commit 373be38

18 files changed

+1001
-142
lines changed
 

‎.gitignore

+9-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@
1212
!/log/.keep
1313
/tmp
1414

15-
config/database.yml
16-
config/secrets.yml
15+
# Ignore locally setup files
16+
/config/database.yml
17+
/config/secrets.yml
18+
19+
# Ignore local files not needed in repo
20+
*.swp
21+
.DS_Store
22+
.rvmrc
23+
.ruby-version

‎.rspec

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--color
2+
--require spec_helper
3+
--format doc

‎Gemfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
source 'https://rubygems.org'
22

3-
43
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
54
gem 'rails', '4.2.3'
65
# Use postgresql as the database for Active Record
76
gem 'pg'
7+
# Use bootstrap for UI
8+
gem 'bootstrap-sass', '~> 3.3.5'
89
# Use SCSS for stylesheets
910
gem 'sass-rails', '~> 5.0'
11+
# Use font awesome for CSS icons.
12+
gem 'font-awesome-rails', '~> 4.4.0.0'
1013
# Use Uglifier as compressor for JavaScript assets
1114
gem 'uglifier', '>= 1.3.0'
1215
# Use CoffeeScript for .coffee assets and views

‎Gemfile.lock

+13
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ GEM
3737
thread_safe (~> 0.3, >= 0.3.4)
3838
tzinfo (~> 1.1)
3939
arel (6.0.3)
40+
autoprefixer-rails (6.0.3)
41+
execjs
42+
json
4043
binding_of_caller (0.7.2)
4144
debug_inspector (>= 0.0.1)
45+
bootstrap-sass (3.3.5.1)
46+
autoprefixer-rails (>= 5.0.0.1)
47+
sass (>= 3.3.0)
4248
builder (3.2.2)
4349
byebug (6.0.2)
4450
coffee-rails (4.1.0)
@@ -51,6 +57,8 @@ GEM
5157
debug_inspector (0.0.2)
5258
erubis (2.7.0)
5359
execjs (2.6.0)
60+
font-awesome-rails (4.4.0.0)
61+
railties (>= 3.2, < 5.0)
5462
globalid (0.3.6)
5563
activesupport (>= 4.1.0)
5664
i18n (0.7.0)
@@ -140,8 +148,10 @@ PLATFORMS
140148
ruby
141149

142150
DEPENDENCIES
151+
bootstrap-sass (~> 3.3.5)
143152
byebug
144153
coffee-rails (~> 4.1.0)
154+
font-awesome-rails (~> 4.4.0.0)
145155
jbuilder (~> 2.0)
146156
jquery-rails
147157
pg
@@ -152,3 +162,6 @@ DEPENDENCIES
152162
turbolinks
153163
uglifier (>= 1.3.0)
154164
web-console (~> 2.0)
165+
166+
BUNDLED WITH
167+
1.10.6

‎README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# ruby-commited
22
Ruby-Monday's 2nd project. Aggregate your different coding activity and build support and a following.
33

4-
## Setup
4+
## Project Setup
55

6-
Copy database.yml.sample and secret.yml.sample to create your initial config.
6+
Assuming you have PG running and the default blank root password
7+
and assuming your currnet working directory is the root of this project:
78

9+
$ bundle install
10+
$ cp ./config/database.yml.sample ./config/database.yml
11+
$ cp ./config/secrets.yml.sample ./config/secrets.yml
12+
13+
_If you *do not* want to use the project default database names, then you'll want to edit
14+
config/database.yml before runnig the last command._
15+
16+
$ rake db:setup

‎README.rdoc

-28
This file was deleted.

‎app/assets/javascripts/application.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
//
1313
//= require jquery
1414
//= require jquery_ujs
15+
//= require bootstrap
1516
//= require turbolinks
1617
//= require_tree .

0 commit comments

Comments
 (0)