diff options
author | elijah <elijah@riseup.net> | 2013-02-12 21:31:02 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-12 21:31:02 -0800 |
commit | 810246285b3dd1316282ee97b59c1ad762b4857f (patch) | |
tree | de0c461e8549accb4ddc197e5b4f6fdfe73a0d95 | |
parent | 2149e30b437dff7854323f4a5200de1b9ac64b4e (diff) |
added .md to README
-rw-r--r-- | README.md (renamed from README) | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -23,7 +23,7 @@ Installation Running in development mode cd leap_website - rails server + rails server thin Console examples @@ -35,10 +35,10 @@ Rake takes rake doc:app -Running in production (with webrick) +Running in production (with thin) bundle exec rake assets:precompile - RAILS_ENV=production rails server + RAILS_ENV=production rails server thin Modifying pages @@ -71,9 +71,9 @@ Running with Apache Install Passenger (mod_rack) sudo apt-get install libapache2-mod-passenger - + Configure Apache - + <VirtualHost *:80> ServerName leap.se DocumentRoot /home/leap/leap_website/public @@ -87,11 +87,15 @@ Configure Apache Development ============================== -If you change a sass source file, you must run: +This app uses precompiled assets. + +If you change a sass source file, you must run this before deploying: rake assets:precompile RAILS_ENV=production -This app uses precompiled assets. +To make the stylesheets autogenerate again in development mode, run this: + + rake assets:clean Development Notes @@ -100,7 +104,7 @@ Development Notes Search --------------------------- -Maybe we should add search. +Maybe we should add search. This appears to be the most appropriate search tool to use for this static webapp: http://xapian.org/docs/bindings/ruby/ |