This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
276 changed files
with
22,310 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
repo_token: viuAox7eD5kxJ3OiPjjVq5G2S5OhLdkaI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
Oops, something went wrong.