Changeset 222
- Timestamp:
- 04/27/07 18:08:30 (1 year ago)
- Files:
-
- mrblog/trunk/README (modified) (1 diff)
- mrblog/trunk/dist/app/views/files/start.herb (modified) (2 diffs)
- mrblog/trunk/dist/app/views/layout/application.herb (modified) (2 diffs)
- mrblog/trunk/dist/conf (modified) (1 prop)
- mrblog/trunk/dist/conf/merb.example.yml (moved) (moved from mrblog/trunk/dist/conf/merb.yml) (1 diff)
- mrblog/trunk/dist/conf/mup.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mrblog/trunk/README
r220 r222 7 7 http://wiki.rubyonrails.com/rails/pages/database.yml 8 8 apply, if you're unsure) 9 4. create a log directory at MERB_ROOT/log if one does not exist (it's omitted 9 4. copy dist/conf/merb.example.yml to dist/conf/merb.yml (you may wish to make 10 modifications to this file). 11 5. create a log directory at MERB_ROOT/log if one does not exist (it's omitted 10 12 to make integration with Capistrano easier). 11 5. Upload the entire mrblog directory to your webserver.12 6. Run rake db:schema:load from a terminal on your webserver.13 7. Create a user account for yourself at http://domain.com/account/signup13 6. Upload the entire mrblog directory to your webserver. 14 7. Run rake db:schema:load from a terminal on your webserver. 15 8. Create a user account for yourself at http://domain.com/account/signup 14 16 (only the first user in the database may access this URL without being 15 17 logged in). You will be logged in automatically. mrblog/trunk/dist/app/views/files/start.herb
r133 r222 1 <html> 2 <head> 3 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 4 <title>mongrel test</title> 5 <script src="/javascripts/prototype.js" type="text/javascript"></script> 6 <script src="/javascripts/effects.js" type="text/javascript"></script> 7 <script src="/javascripts/mup.js" type="text/javascript"></script> 8 9 <style type="text/css"> 10 #progress-bar { 11 width:500px; 12 height:25px; 13 margin:15px; 14 border:solid 1px #000; 15 position:relative; 16 } 1 <% throw_content :header do %> 2 <style type="text/css"> 3 #progress-bar { 4 width:500px; 5 height:25px; 6 margin:15px; 7 border:solid 1px #000; 8 position:relative; 9 } 17 10 18 #progress-bar #status-bar {19 display:block;20 height:25px;21 width:0;22 background-color:#00f;23 border-right:solid 1px #000;24 position:absolute;25 top:0; left:0;26 }11 #progress-bar #status-bar { 12 display:block; 13 height:25px; 14 width:0; 15 background-color:#00f; 16 border-right:solid 1px #000; 17 position:absolute; 18 top:0; left:0; 19 } 27 20 28 #progress-bar #status-text {29 display:block;30 padding: 0 15px;31 line-height:25px;32 position:absolute;33 top:0; left:0;34 }35 </style>36 < /head>37 <body>21 #progress-bar #status-text { 22 display:block; 23 padding: 0 15px; 24 line-height:25px; 25 position:absolute; 26 top:0; left:0; 27 } 28 </style> 29 <%= js_include_tag :mup %> 30 <% end %> 38 31 39 32 <h2>Test file uploading.</h2> … … 58 51 59 52 <iframe id="upload" name="upload" src="about:blank"></iframe> 60 61 </body>62 </html>mrblog/trunk/dist/app/views/layout/application.herb
r133 r222 7 7 <%= css_include_tag :merb %> 8 8 <%= js_include_tag :prototype, :effects %> 9 <%= catch_content :header %> 9 10 </head> 10 11 … … 16 17 17 18 <div id="border"> 18 19 <div id="container"> 20 21 <div id="content"> 22 23 24 <div id="introduction"> 25 <h3>Merb Mascot</h3> 26 <ul> 27 <li><%= link_to image_tag('louiecon.gif'), "/"%> </li> 28 </ul> 29 <%= catch_content :sidebar %> 30 </div> 31 32 <%= catch_content :layout %> 33 34 </div> 35 </div> 36 37 <div id="footer">Merb: Mongrel + Erb</div> 38 39 </div> 40 41 42 43 19 <div id="container"> 20 <div id="content"> 21 <div id="introduction"> 22 <h3>Merb Mascot</h3> 23 <ul> 24 <li><%= link_to image_tag('louiecon.gif', :alt => 'Big Louie, the Merb mascot'), "/" %></li> 25 </ul> 26 <%= catch_content :sidebar %> 27 </div> <!-- /#introduction --> 28 <%= catch_content :layout %> 29 </div> <!-- /#content --> 30 </div> <!-- /#container --> 31 <div id="footer">Merb: Mongrel + Erb</div> 32 </div> <!-- /#border --> 44 33 </body> 45 34 </html> mrblog/trunk/dist/conf
- Property svn:ignore changed from
merb_init.rb
to
merb_init.rb
merb.yml
- Property svn:ignore changed from
mrblog/trunk/dist/conf/merb.example.yml
r153 r222 4 4 :sql_session: true 5 5 :environment: development 6 #:config: dist/conf/mup.conf6 :config: dist/conf/mup.conf 7 7 :cache_templates: true 8 #:start_drb: true 8 9 #:drb_server_port: 32323 9 10 #:cluster: 3 mrblog/trunk/dist/conf/mup.conf
r138 r222 1 1 # upload progress conf 2 2 --- 3 :drb: true3 # :drb: true 4 4 :path_info: /files/upload 5 5 :frequency: 1
