Browse Source

Now install a use rubyzome should be far easier.

master
parent
commit
6fb6282691
  1. 10
      README.markdown
  2. 7
      config.ru
  3. 11
      public/static/index.html

10
README.markdown

@ -6,9 +6,19 @@ Ruby Restful Mobile oriented framework.
- Can create Web interface easily
## Install
1. git clone git@github.com:yogsototh/rubyzome.git rubyzome
2. cd rubyzome
3. gem install dm-core dm-sqlite-adapter erubis json nokogiri rack rack-rewrite unicorn
4. unicorn
5. ???
6. profit
## Docs
Documentation is to be done.
For now, just know it has something to do with populating the `/app` directory.
## Status

7
config.ru

@ -3,12 +3,15 @@
require 'rubygems'
require 'rack'
require 'rack-rewrite'
require 'global_config.rb'
require 'rubyzome/rubyzome.rb'
use Rack::Static, :urls => ["/css", "/js", "/img"], :root => "public"
use Rack::Rewrite do
rewrite '/','/static/index.html'
end
use Rack::Static, :urls => ["/css", "/js", "/img", "/static"], :root => "public"
run Rubyzome::RestfulDispatcher.new

11
public/index.html → public/static/index.html

@ -5,10 +5,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<script type="text/javascript" src="./js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="./js/jquery.cookie.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<script type="text/javascript" src="/js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
<title>Rubyzome</title>
</head>
<body>
@ -36,9 +36,6 @@
</div>
<div id="bottom">
<div id="gprefs">
2009 GridPocket© SAS All Rights Reserved
</div>
<div id="promotion">
Designed by <a href="http://yannesposito.com">Yann Esposito</a> &amp; <a href="http://lucarea.com">Luc Juggery</a>.
</div>
Loading…
Cancel
Save