GithubHelp home page GithubHelp logo

clojuredocs's Introduction

ClojureDocs Web App

ClojureDocs is a community powered documentation and examples repository designed to aid clojurists of all skill levels in groking clojure core and third party libraries.

The alpha version of ClojureDocs was released on July 9th, 2010. See the original mailing list post for more information.

ClojureDocs consists of three main projects: this website, the library importer, and the external API.

Requirements

  • Ruby 1.8.7 & Rails 2.1.5.
  • MySQL 5.1
  • bundler
  • Sphinx 0.9.9
  • RVM - not required, but highly suggested.

Getting Started

  • Open up a terminal.
  • Clone the repo: git clone https://github.com/zkim/clojuredocs.git
  • cd clojuredocs
  • Copy the database template: cp ./config/database.example.yml ./config/database.yml
  • Install required gems: bundle install
  • Create the required databases: echo 'create database clojuredocs_development; create database clojuredocs_test' | mysql -uroot
  • Run database migrations: rake db:migrate
  • Start the dev server: script/server
  • Navigate to http://localhost:3000

This will give you a pristine working version of ClojureDocs. Not very interesting without data, so lets import some:

  • Download the latest database export
  • Import the database: mysql -uroot clojuredocs_development < downloaded_export_file
  • Refresh http://localhost:3000

Enabling search requires sphinx

  • Download http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz
  • Unzip and cd into the sphinx directory
  • ./configure
  • make
  • sudo make install
  • Back in the clojuredocs project directory: rake thinking_sphinx:rebuild This will index the database and start the sphinx search daemon.

License

ClojureDocs is licensed under the EPL v1.0 http://opensource.org/licenses/eclipse-1.0.php

clojuredocs's People

Contributors

dakrone avatar dedeibel avatar zk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.