manuscript 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +11 -0
  2. data/VERSION +1 -1
  3. data/manuscript.gemspec +1 -1
  4. metadata +1 -1
data/README.rdoc CHANGED
@@ -41,6 +41,7 @@ In the repository directory, edit the file called <tt>config.ru</tt> to match yo
41
41
  ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => 'manuscript.sqlite3.db'
42
42
 
43
43
  use Rack::Session::Cookie
44
+ use Rack::Static, :urls => ["/template_files"]
44
45
  use Gatekeeper::Middleware do |sso|
45
46
  sso.sso_url = "http://hotink.theorem.ca/sso"
46
47
  end
@@ -60,6 +61,16 @@ You can then deploy this like any other Rack app. You can even test it out:
60
61
 
61
62
  To start settings things up, visit "/admin" from your application's host and port.
62
63
 
64
+ === A cleaner setup
65
+
66
+ While you can deploy a Manuscript as indicated above, if you don't want to clone a repository onto your production machine you have another option. Simply
67
+ prepare an sqlite3 database on you local machine, in a cloned Manuscript repository.
68
+
69
+ Make sure the <b>gem is installed</b> on your production machine, then create a new directory and create a <tt>rackup.ru</tt> file and make it read as
70
+ shown above.
71
+
72
+ Template files will be saved into a directory '/template_files' alongside <tt>config.ru</tt>. They'll also be served from there. Now deploy away.
73
+
63
74
  == Note on Patches/Pull Requests
64
75
 
65
76
  * Fork the project.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/manuscript.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{manuscript}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hotink"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manuscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hotink