Sha256: 7d68f7ccab1979a6c167dcc4289c87ce05cb5c34281f84368520cef2b969ce9b

Contents?: true

Size: 688 Bytes

Versions: 6

Compression:

Stored size: 688 Bytes

Contents

#!/usr/bin/env ruby

require 'socket'
require 'pathname'
require 'mongrel2'
require 'mongrel2/config'

server 'cms-demo' do
    name 'Strelka CMS Demo'

	chroot '.'

    access_log '/logs/access.log'
    error_log  '/logs/error.log'
    pid_file '/run/mongrel2.pid'

	port 8080

    default_host 'localhost'

    host 'localhost' do
		route '/stylesheets/(.)', directory( 'public/stylesheets/' )
		route '/javascripts/(.)', directory( 'public/javascripts/' )
		route '/images/(.)', directory( 'public/images/' )

		route '/feed', handler( 'tcp://127.0.0.1:9946', 'content-feeds' )
		route '/', handler( 'tcp://127.0.0.1:9948', 'content-manager' )
	end

end

mkdir_p 'logs'
mkdir_p 'run'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
strelka-cms-0.3.0 etc/mongrel.rb
strelka-cms-0.2.0 etc/mongrel.rb
strelka-cms-0.1.0 etc/mongrel.rb
strelka-cms-0.0.1 etc/mongrel.rb
strelka-cms-0.0.1.pre.19 etc/mongrel.rb
strelka-cms-0.0.1.pre.15 etc/mongrel.rb