Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/v1'
Browse files Browse the repository at this point in the history
  • Loading branch information
PanfilovDenis committed Feb 15, 2013
2 parents ad547de + 635d0d3 commit c385701
Show file tree
Hide file tree
Showing 275 changed files with 22,281 additions and 615 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: viuAox7eD5kxJ3OiPjjVq5G2S5OhLdkaI
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,17 @@

# Ignore the default SQLite database.
/db/*.sqlite3
/config/database.yml
/public/uploads/

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

/coverage

# Ignore schema
schema.rb

#ignore idea config
.idea
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: ruby
rvm:
- 1.9.3
env:
- DB=postgresql
script:
- RAILS_ENV=test bundle exec rake --trace db:migrate test
before_script:
- psql -c 'create database nastachku_test' -U postgres
- cp config/database.yml.sample config/database.yml
8 changes: 8 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load 'deploy'
require 'bundler/capistrano'
require 'rvm/capistrano'
load 'deploy/assets'
Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy' # remove this line to skip loading any of the default tasks

require 'capistrano-unicorn'
67 changes: 44 additions & 23 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,59 @@
source 'https://rubygems.org'

gem 'rails', '3.2.11'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'rails'
gem 'pg'

gem 'unicorn'
gem 'haml-rails'
gem 'twitter-bootstrap-rails'
gem 'jquery-ui-rails'
gem 'less-rails'
gem 'simple_form'
gem "airbrake"
gem "mini_magick"
gem "carrierwave"
gem 'ckeditor'
gem 'jquery-rails'
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jbuilder'
gem 'unicorn-rails'
gem 'usefull_scopes'
gem 'ya_acl'
gem 'state_machine'
gem 'untranslated'
gem 'configus'
gem 'russian'
gem 'google-analytics-rails'
gem 'validates'
gem 'virtus'
gem 'js-routes'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', :platforms => :ruby

gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'
group :test, :development do
gem 'sqlite3'
end

# Deploy with Capistrano
# gem 'capistrano'
group :test do
gem 'minitest'
gem 'simplecov', :require => false
gem 'ci_reporter'
gem 'factory_girl_rails'
gem 'turn'
gem 'tconsole'
gem "rake"
gem 'coveralls', require: false
end

# To use debugger
# gem 'debugger'
group :development do
gem 'capistrano'
gem 'rvm-capistrano'
gem 'capistrano-ext'
gem 'capistrano-unicorn', require: false
end
166 changes: 164 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,109 @@ GEM
activesupport (3.2.11)
i18n (~> 0.6)
multi_json (~> 1.0)
airbrake (3.1.6)
builder
girl_friday
ansi (1.4.3)
arel (3.0.2)
backports (2.6.7)
bcrypt-ruby (3.0.1)
builder (3.0.4)
capistrano (2.14.1)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capistrano-ext (1.2.1)
capistrano (>= 1.0.0)
capistrano-unicorn (0.1.6)
capistrano
carrierwave (0.6.2)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
ci_reporter (1.8.3)
builder (>= 2.1.2)
ckeditor (3.7.3)
mime-types
orm_adapter
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.4.0)
colorize (0.5.8)
commonjs (0.2.6)
configus (0.0.4)
rake
connection_pool (1.0.0)
coveralls (0.5.5)
colorize
json
rest-client
simplecov (>= 0.7)
thor
descendants_tracker (0.0.1)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.1.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.1.0)
factory_girl (~> 4.1.0)
railties (>= 3.0.0)
girl_friday (0.11.2)
connection_pool (~> 1.0)
rubinius-actor
google-analytics-rails (0.0.3)
haml (3.1.7)
haml-rails (0.3.5)
actionpack (>= 3.1, < 4.1)
activesupport (>= 3.1, < 4.1)
haml (~> 3.1)
railties (>= 3.1, < 4.1)
hash-deep-merge (0.1.1)
highline (1.6.15)
hike (1.2.1)
i18n (0.6.1)
jbuilder (1.0.2)
activesupport (>= 3.0.0)
journey (1.0.4)
jquery-rails (2.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (2.0.2)
jquery-rails
railties (>= 3.1.0)
js-routes (0.8.5)
rails (>= 3.2)
json (1.7.6)
kgio (2.7.4)
less (2.2.2)
commonjs (~> 0.2.6)
less-rails (2.2.3)
actionpack (>= 3.1)
less (~> 2.2.0)
libv8 (3.11.8.13)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.19)
mini_magick (3.4)
subexec (~> 0.2.1)
minitest (4.3.3)
multi_json (1.5.0)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.6.3)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
orm_adapter (0.4.0)
pg (0.14.1)
polyglot (0.3.3)
rack (1.4.4)
Expand All @@ -78,20 +155,44 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
raindrops (0.10.0)
rake (10.0.3)
rdoc (3.12)
json (~> 1.4)
ref (1.0.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rubinius-actor (0.0.2)
rubinius-core-api
rubinius-core-api (0.0.1)
russian (0.6.0)
i18n (>= 0.5.0)
rvm-capistrano (1.2.7)
capistrano (>= 2.0.0)
sass (3.2.5)
sass-rails (3.2.5)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
simple_form (2.0.4)
actionpack (~> 3.0)
activemodel (~> 3.0)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.7)
state_machine (1.1.2)
subexec (0.2.2)
tconsole (1.2.7)
minitest (~> 4.3.0)
term-ansicolor (~> 1.0.7)
term-ansicolor (1.0.7)
therubyracer (0.11.2)
libv8 (~> 3.11.8.12)
ref
Expand All @@ -100,19 +201,80 @@ GEM
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
turn (0.9.6)
ansi
twitter-bootstrap-rails (2.2.0)
actionpack (>= 3.1)
execjs
railties (>= 3.1)
tzinfo (0.3.35)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
unicorn (4.5.0)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
unicorn-rails (1.0.0)
rack
unicorn
untranslated (1.0.2)
hash-deep-merge
i18n
usefull_scopes (0.1.0)
validates (0.0.8)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
virtus (0.5.4)
backports (~> 2.6.1)
descendants_tracker (~> 0.0.1)
ya_acl (0.0.7)
rake

PLATFORMS
ruby

DEPENDENCIES
airbrake
bcrypt-ruby (~> 3.0.0)
capistrano
capistrano-ext
capistrano-unicorn
carrierwave
ci_reporter
ckeditor
coffee-rails (~> 3.2.1)
configus
coveralls
factory_girl_rails
google-analytics-rails
haml-rails
jbuilder
jquery-rails
jquery-ui-rails
js-routes
less-rails
mini_magick
minitest
pg
rails (= 3.2.11)
rails
rake
russian
rvm-capistrano
sass-rails (~> 3.2.3)
simple_form
simplecov
sqlite3
state_machine
tconsole
therubyracer
turn
twitter-bootstrap-rails
uglifier (>= 1.0.3)
unicorn
unicorn-rails
untranslated
usefull_scopes
validates
virtus
ya_acl
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[![Build Status](https://secure.travis-ci.org/kaize/nastachku.png?branch=develop)](http://travis-ci.org/kaize/nastachku)
[![Coverage develop status](https://coveralls.io/repos/kaize/nastachku/badge.png?branch=develop)](https://coveralls.io/r/kaize/nastachku/)
[![Coverage master status](https://coveralls.io/repos/kaize/nastachku/badge.png?branch=master)](https://coveralls.io/r/kaize/nastachku/)

## Installation and running way
```sh
git clone https://github.com/kaize/nastachku.git
cd nastachku
bundle install
bundle exec rake db:create db:migrate db:seed
bundle exec unicorn_rails
```

Теперь в браузере можно будет открыть сайт, по умолчанию он находится
по ссылке http://localhost:8080/
Loading

0 comments on commit c385701

Please sign in to comment.