Fix the readme

This commit is contained in:
Aaron Mueller 2014-01-19 01:09:59 +01:00
parent 29bd8eac8f
commit 769176b545

View file

@ -1,19 +1,19 @@
== Installation == # Installation
Check out the source and run `lein deps` in the root folder to fetch all 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 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 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 you open up the browser and visit 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 displayed because we doesn't fetch any data yet. If that works, we can proceed
the terminal, we will start the server with a different technique. with the next step and import data.
Run a repl with `lein repl`. Here we start the server, initiate the database Run a repl with `lein repl` in another terminal. Here we start the
and run the scrape process. server, initiate the database and run the scrape process.
(load-file "src/ldview/repl.clj") (load-file "src/ldview/repl.clj")
(ldview.repl/start-server) (ldview.repl/start-server)
(load-file "src/ldview/tasks/runner.clj) (load-file "src/ldview/tasks/runner.clj)
(in-ns 'ldview.tasks.runner) (in-ns 'ldview.tasks.runner)
(load-competition 27 "10 Seconds") (load-competition 27 "10 Seconds")