aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c21a4dd
--- /dev/null
+++ b/README.md
@@ -0,0 +1,36 @@
+Session Exercise
+================
+
+This is an exercise designed to help illustrate how sessions can facilitate
+authentication on the web.
+
+Fill in the route blocks in `app.rb` such that POSTing the accepted user
+credentials to '/' log the user in using the session, and display the logged in
+template.
+
+With `Rack::Session::Cookie`, the session is accessible via a hash called
+`session`.
+
+
+## Installing
+Run
+
+ $ sh setup.sh
+
+to install the required gem dependencies.
+
+
+## Running
+Run
+
+ $ make
+
+to start up the development server and see changes to the app.
+
+
+## Testing
+Run
+
+ $ rake
+
+to run the app's tests.