summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md (renamed from README)20
1 files changed, 12 insertions, 8 deletions
diff --git a/README b/README.md
index 3c98d8d..3b3ae6b 100644
--- a/README
+++ b/README.md
@@ -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/