initial commit.
authorelijah <elijah@riseup.net>
Sat, 25 Aug 2012 04:07:19 +0000 (21:07 -0700)
committerelijah <elijah@riseup.net>
Sat, 25 Aug 2012 04:07:19 +0000 (21:07 -0700)
README [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..fe15f45
--- /dev/null
+++ b/README
@@ -0,0 +1,76 @@
+ABOUT THIS APP
+
+  The LEAP public website is lightweight rails application that just mostly
+  serves up (semi) static templates.
+
+  No databases are used or harmed in the making of this website.
+
+  The goal with this web app is to be as flexible and lightweight as possible,
+  and to support stellar localization.
+
+  There are numerous ruby tools to build static websites, but I found them to
+  not be good for localization and to be too inflexible.
+
+Installation
+
+  bundle install
+
+Running
+
+  rails server
+
+Console
+
+  rails console
+  rails console production
+  rails dbconsole
+
+Rake takes
+
+  rake doc:app
+
+Running in production (with webrick)
+
+  bundle exec rake assets:precompile
+  RAILS_ENV=production rails server
+
+Deploying
+
+  Edit config/deploy.rb
+
+  Apache requirements:
+    Install mod_rack
+
+  Apache configuration:
+    <VirtualHost *:80>
+      ServerName leap.se
+      DocumentRoot /home/leap/leap.se/public
+      <Directory /home/leap/leap.se/public>
+        Allow from all
+        Options -MultiViews
+      </Directory>
+    </VirtualHost>
+
+
+DEV NOTES
+=============================
+
+SEARCH
+
+use this one:
+http://xapian.org/docs/bindings/ruby/
+
+how flask does it:
+  http://librelist.com/browser//flask/2012/3/21/maillinglist-archive-searchable/#ff1d34246a16845c410d2c9a411f5829
+  https://github.com/mitsuhiko/flask/blob/website/flask_website/search.py
+  https://github.com/mitsuhiko/flask/blob/website/flask_website/views/mailinglist.py
+
+pure ruby, for ar: https://github.com/dougal/acts_as_indexed/
+
+STATIC CMSs
+
+see
+  http://nestacms.com/
+  https://github.com/gma/nesta
+  https://github.com/gma/nesta-rails
+  https://github.com/quickleft/regulate -- git, engine, cms, rails
\ No newline at end of file