From 29bd8eac8f4e96bf048673e761ba407ef431b8c4 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Sat, 18 Jan 2014 00:02:17 +0100 Subject: [PATCH] Add a readme --- README.mkd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.mkd diff --git a/README.mkd b/README.mkd new file mode 100644 index 0000000..f56343b --- /dev/null +++ b/README.mkd @@ -0,0 +1,19 @@ +== Installation == + +Check out the source and run `lein deps` in the root folder to fetch all +dependencies. This takes a couple of seconds. After that, you can run the server +with `lein ring server-headless`. Now you can verify that nothing went wrong if +you open up the browser and go http://0.0.0.0:3000/. There should be nothing +displayed because we doesn't fetch any data yet. If this works, you can close +the terminal, we will start the server with a different technique. + +Run a repl with `lein repl`. Here we start the server, initiate the database +and run the scrape process. + + (load-file "src/ldview/repl.clj") + (ldview.repl/start-server) + + (load-file "src/ldview/tasks/runner.clj) + (in-ns 'ldview.tasks.runner) + (load-competition 27 "10 Seconds") +