Skip to content

Commit 58da400

Browse files
committed
first commit
0 parents  commit 58da400

Some content is hidden

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

89 files changed

+1950
-0
lines changed

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
!/log/.keep
17+
/tmp

Gemfile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'devise' # 회원가입 및 회원관리
4+
gem 'cancancan' # 권한 부여
5+
gem 'rolify' # 등급을 부여해줌
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '4.2.5'
8+
# Use sqlite3 as the database for Active Record
9+
gem 'sqlite3'
10+
# Use SCSS for stylesheets
11+
gem 'sass-rails', '~> 5.0'
12+
# Use Uglifier as compressor for JavaScript assets
13+
gem 'uglifier', '>= 1.3.0'
14+
# Use CoffeeScript for .coffee assets and views
15+
gem 'coffee-rails', '~> 4.1.0'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'therubyracer', platforms: :ruby
18+
19+
# Use jquery as the JavaScript library
20+
gem 'jquery-rails'
21+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
22+
gem 'turbolinks'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.0'
25+
# bundle exec rake doc:rails generates the API under doc/api.
26+
gem 'sdoc', '~> 0.4.0', group: :doc
27+
28+
# Use ActiveModel has_secure_password
29+
# gem 'bcrypt', '~> 3.1.7'
30+
31+
# Use Unicorn as the app server
32+
# gem 'unicorn'
33+
34+
# Use Capistrano for deployment
35+
# gem 'capistrano-rails', group: :development
36+
37+
group :development, :test do
38+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
39+
gem 'byebug'
40+
end
41+
42+
group :development do
43+
# Access an IRB console on exception pages or by using <%= console %> in views
44+
gem 'web-console', '~> 2.0'
45+
46+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
47+
gem 'spring'
48+
end
49+

Gemfile.lock

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.2.5)
5+
actionpack (= 4.2.5)
6+
actionview (= 4.2.5)
7+
activejob (= 4.2.5)
8+
mail (~> 2.5, >= 2.5.4)
9+
rails-dom-testing (~> 1.0, >= 1.0.5)
10+
actionpack (4.2.5)
11+
actionview (= 4.2.5)
12+
activesupport (= 4.2.5)
13+
rack (~> 1.6)
14+
rack-test (~> 0.6.2)
15+
rails-dom-testing (~> 1.0, >= 1.0.5)
16+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
17+
actionview (4.2.5)
18+
activesupport (= 4.2.5)
19+
builder (~> 3.1)
20+
erubis (~> 2.7.0)
21+
rails-dom-testing (~> 1.0, >= 1.0.5)
22+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
23+
activejob (4.2.5)
24+
activesupport (= 4.2.5)
25+
globalid (>= 0.3.0)
26+
activemodel (4.2.5)
27+
activesupport (= 4.2.5)
28+
builder (~> 3.1)
29+
activerecord (4.2.5)
30+
activemodel (= 4.2.5)
31+
activesupport (= 4.2.5)
32+
arel (~> 6.0)
33+
activesupport (4.2.5)
34+
i18n (~> 0.7)
35+
json (~> 1.7, >= 1.7.7)
36+
minitest (~> 5.1)
37+
thread_safe (~> 0.3, >= 0.3.4)
38+
tzinfo (~> 1.1)
39+
arel (6.0.4)
40+
bcrypt (3.1.11)
41+
binding_of_caller (0.7.2)
42+
debug_inspector (>= 0.0.1)
43+
builder (3.2.3)
44+
byebug (9.1.0)
45+
cancancan (2.0.0)
46+
coffee-rails (4.1.1)
47+
coffee-script (>= 2.2.0)
48+
railties (>= 4.0.0, < 5.1.x)
49+
coffee-script (2.4.1)
50+
coffee-script-source
51+
execjs
52+
coffee-script-source (1.12.2)
53+
concurrent-ruby (1.0.5)
54+
debug_inspector (0.0.3)
55+
devise (4.3.0)
56+
bcrypt (~> 3.0)
57+
orm_adapter (~> 0.1)
58+
railties (>= 4.1.0, < 5.2)
59+
responders
60+
warden (~> 1.2.3)
61+
erubis (2.7.0)
62+
execjs (2.7.0)
63+
ffi (1.9.18)
64+
globalid (0.4.0)
65+
activesupport (>= 4.2.0)
66+
i18n (0.8.6)
67+
jbuilder (2.7.0)
68+
activesupport (>= 4.2.0)
69+
multi_json (>= 1.2)
70+
jquery-rails (4.3.1)
71+
rails-dom-testing (>= 1, < 3)
72+
railties (>= 4.2.0)
73+
thor (>= 0.14, < 2.0)
74+
json (1.8.6)
75+
loofah (2.0.3)
76+
nokogiri (>= 1.5.9)
77+
mail (2.6.6)
78+
mime-types (>= 1.16, < 4)
79+
mime-types (3.1)
80+
mime-types-data (~> 3.2015)
81+
mime-types-data (3.2016.0521)
82+
mini_portile2 (2.2.0)
83+
minitest (5.10.3)
84+
multi_json (1.12.1)
85+
nokogiri (1.8.0)
86+
mini_portile2 (~> 2.2.0)
87+
orm_adapter (0.5.0)
88+
rack (1.6.8)
89+
rack-test (0.6.3)
90+
rack (>= 1.0)
91+
rails (4.2.5)
92+
actionmailer (= 4.2.5)
93+
actionpack (= 4.2.5)
94+
actionview (= 4.2.5)
95+
activejob (= 4.2.5)
96+
activemodel (= 4.2.5)
97+
activerecord (= 4.2.5)
98+
activesupport (= 4.2.5)
99+
bundler (>= 1.3.0, < 2.0)
100+
railties (= 4.2.5)
101+
sprockets-rails
102+
rails-deprecated_sanitizer (1.0.3)
103+
activesupport (>= 4.2.0.alpha)
104+
rails-dom-testing (1.0.8)
105+
activesupport (>= 4.2.0.beta, < 5.0)
106+
nokogiri (~> 1.6)
107+
rails-deprecated_sanitizer (>= 1.0.1)
108+
rails-html-sanitizer (1.0.3)
109+
loofah (~> 2.0)
110+
railties (4.2.5)
111+
actionpack (= 4.2.5)
112+
activesupport (= 4.2.5)
113+
rake (>= 0.8.7)
114+
thor (>= 0.18.1, < 2.0)
115+
rake (12.0.0)
116+
rb-fsevent (0.10.2)
117+
rb-inotify (0.9.10)
118+
ffi (>= 0.5.0, < 2)
119+
rdoc (4.3.0)
120+
responders (2.4.0)
121+
actionpack (>= 4.2.0, < 5.3)
122+
railties (>= 4.2.0, < 5.3)
123+
rolify (5.1.0)
124+
sass (3.5.1)
125+
sass-listen (~> 4.0.0)
126+
sass-listen (4.0.0)
127+
rb-fsevent (~> 0.9, >= 0.9.4)
128+
rb-inotify (~> 0.9, >= 0.9.7)
129+
sass-rails (5.0.6)
130+
railties (>= 4.0.0, < 6)
131+
sass (~> 3.1)
132+
sprockets (>= 2.8, < 4.0)
133+
sprockets-rails (>= 2.0, < 4.0)
134+
tilt (>= 1.1, < 3)
135+
sdoc (0.4.2)
136+
json (~> 1.7, >= 1.7.7)
137+
rdoc (~> 4.0)
138+
spring (2.0.2)
139+
activesupport (>= 4.2)
140+
sprockets (3.7.1)
141+
concurrent-ruby (~> 1.0)
142+
rack (> 1, < 3)
143+
sprockets-rails (3.2.0)
144+
actionpack (>= 4.0)
145+
activesupport (>= 4.0)
146+
sprockets (>= 3.0.0)
147+
sqlite3 (1.3.13)
148+
thor (0.20.0)
149+
thread_safe (0.3.6)
150+
tilt (2.0.8)
151+
turbolinks (5.0.1)
152+
turbolinks-source (~> 5)
153+
turbolinks-source (5.0.3)
154+
tzinfo (1.2.3)
155+
thread_safe (~> 0.1)
156+
uglifier (3.2.0)
157+
execjs (>= 0.3.0, < 3)
158+
warden (1.2.7)
159+
rack (>= 1.0)
160+
web-console (2.3.0)
161+
activemodel (>= 4.0)
162+
binding_of_caller (>= 0.7.2)
163+
railties (>= 4.0)
164+
sprockets-rails (>= 2.0, < 4.0)
165+
166+
PLATFORMS
167+
ruby
168+
169+
DEPENDENCIES
170+
byebug
171+
cancancan
172+
coffee-rails (~> 4.1.0)
173+
devise
174+
jbuilder (~> 2.0)
175+
jquery-rails
176+
rails (= 4.2.5)
177+
rolify
178+
sass-rails (~> 5.0)
179+
sdoc (~> 0.4.0)
180+
spring
181+
sqlite3
182+
turbolinks
183+
uglifier (>= 1.3.0)
184+
web-console (~> 2.0)
185+
186+
BUNDLED WITH
187+
1.15.4

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
,-----.,--. ,--. ,---. ,--.,------. ,------.
3+
' .--./| | ,---. ,--.,--. ,-| || o \ | || .-. \ | .---'
4+
| | | || .-. || || |' .-. |`..' | | || | \ :| `--,
5+
' '--'\| |' '-' '' '' '\ `-' | .' / | || '--' /| `---.
6+
`-----'`--' `---' `----' `---' `--' `--'`-------' `------'
7+
-----------------------------------------------------------------
8+
9+
10+
Welcome to your Rails project on Cloud9 IDE!
11+
12+
To get started, just do the following:
13+
14+
1. Run the project with the "Run Project" button in the menu bar on top of the IDE.
15+
2. Preview your new app by clicking on the URL that appears in the Run panel below (https://HOSTNAME/).
16+
17+
Happy coding!
18+
The Cloud9 IDE team
19+
20+
21+
## Support & Documentation
22+
23+
Visit http://docs.c9.io for support, or to learn more about using Cloud9 IDE.
24+
To watch some training videos, visit http://www.youtube.com/user/c9ide

README.rdoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
* ...
25+
26+
27+
Please feel free to use a different markup language if you do not plan to run
28+
<tt>rake doc:app</tt>.

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 File.expand_path('../config/application', __FILE__)
5+
6+
Rails.application.load_tasks

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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.
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_tree .

app/assets/javascripts/posts.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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, vendor/assets/stylesheets,
6+
* or any plugin's 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 styles
10+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11+
* file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/

app/assets/stylesheets/posts.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Posts controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/

0 commit comments

Comments
 (0)