https://wri.pe source code
Ruby CoffeeScript CSS Other
Latest commit 9e1d71f Aug 18, 2014 @masuidrive Merge pull request #5 from asip/ar_async_on_off
Enable enabling or disabling ActiveRecordAsync
Permalink
Failed to load latest commit information.
app Enable enabling or disabling ActiveRecordAsync May 10, 2014
bin init ver. Mar 30, 2014
config Enable enabling or disabling ActiveRecordAsync May 10, 2014
db init ver. Mar 30, 2014
doc init ver. Mar 30, 2014
lib init ver. Mar 30, 2014
public init ver. Mar 30, 2014
script init ver. Mar 30, 2014
spec init ver. Mar 30, 2014
test init ver. Mar 30, 2014
vendor init ver. Mar 30, 2014
.gitignore Enable enabling or disabling ActiveRecordAsync May 10, 2014
Gemfile Enable enabling or disabling ActiveRecordAsync May 10, 2014
Gemfile.lock init ver. Mar 30, 2014
LICENSE init ver. Mar 30, 2014
Procfile init ver. Mar 30, 2014
README.md Merge pull request #5 from asip/ar_async_on_off Aug 18, 2014
Rakefile init ver. Mar 30, 2014
config.ru init ver. Mar 30, 2014
deploy.sh init ver. Mar 30, 2014

README.md

wri.pe

https://wri.pe source code.

Install

requirements

  • Ruby 2.0.0 and above
  • Bundler
  • JRE 1.6 and above (for Solr)
  • Pow - http://pow.cx/

optional requirenments

set up

cp config/application-sample.yml config/application.yml
cp config/async-sample.yml config/async.yml
cp config/evernote-sample.yml config/evernote.yml
cp config/github-sample.yml config/github.yml
cp config/dropbox-sample.yml config/dropbox.yml
cp config/facebook-sample.yml config/facebook.yml
cp config/paperclip_feedbacks_s3-sample.yml config/paperclip_feedbacks_s3.yml
# edit above yaml files

bundle install --path vendor/bundle
bundle exec rake sunspot:solr:run
bundle exec rake db:migrate
ln -s `pwd` ~/.pow/wripe

run

You can login with GitHub or Facebook.

except Chrome

bundle exec rake sunspot:solr:run # in case of stopping solr
open "http://wripe.dev/"

with Chrome

bundle exec rake sunspot:solr:run # in case of stopping solr
bundle exec rails s
open "http://lvh.me:3000/"

test

with PhantomJS

bundle exec rake

with Chrome

bundle exec rake DRIVER=chrome

with Safari

bundle exec rake DRIVER=safari

with Firefox

bundle exec rake DRIVER=firefox

with Internet Explorer

windows側でselenium-serverとstone 10.0.0.3:57124 57124を起動

bundle exec rake DRIVER=ie