Sha256: bfdbdd70c4415831afb07f6fe119a06838cd49061beea72f33682d56a5ff2583

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

require "bundler/gem_tasks"
require "sinatra/activerecord/rake"

task :server do
  system('shotgun -p 9283')
end

task :spec do
  system('bundle exec rspec')
end

task :daemon do
  system('RAICK_ENV=local nohup rackup -p 9283 > /dev/null 2>&1 &')
end

namespace :db do
  task :load_config do
    require 'pushnote/app'
  end
end

task :start => ['db:create', 'db:migrate', 'daemon']

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pushnote-1.0.1 Rakefile
pushnote-1.0.0 Rakefile