To run Caribou you will need:
If you can run
lein help, you are ready to go!
Note: You do not need to install Clojure!
If you have Leiningen installed, there is nothing more to install!
To create a new Caribou project, type this at the command line:
% lein new caribou taiga
This will create a new Caribou directory structure under the name
taiga. Site created!
To bootstrap a fresh database for Caribou to use, simply:
% cd taiga % lein caribou migrate resources/config/development.clj
You can run Caribou without a database if you just want the routing, controllers and template rendering, but you need a database to use the Admin or API and much of the other functionality.
By default Caribou uses H2 (an all Java database engine) so that it does not depend on anything besides the JVM. If you don't want to use H2 you can configure Caribou to use other database backends. See the section on database configuration for more on how to do this.
To run the site as it exists, simply:
% lein run
Then navigate to http://localhost:33333.
Congratulations! You are now running Caribou.