Super simple social links thingie
Clojure CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test/gnar/http
.gitignore
LICENSE
README.md
build.boot
deps.edn
structure.sql

README.md

gnar

Goals

  • Take the functionality of a site like Lobsters or HN and strip it down to its essence.
  • Add functionality to fit how Bendyworks uses awesome
  • Make it super mobile friendly
  • (someday) send daily digest emails automatically instead of having comment threads. (See: awesome_digest)

Technical stuff

  • Hoplon and Castra on Ring
  • HoneySQL for Postgres database
  • Boot for tasks
  • friend is used for its bcrypt wrapper, but is not used as the authentication system.

User auth inspired by tailrecursion/hoplon-demos

Setup

Loading initial DB structure

  1. Ensure postgresql is running.
  2. Run createdb gnar_development
  3. Run psql gnar_development to enter the Postgres shell
  4. Load the DB structure with: \i structure.sql
  5. It should be all set now.

Starting the app

  1. Install boot if you haven't already
  2. Run boot gnar-app
  3. Everything should be running! (open http://localhost:8000)

License

Copyright © 2014 Matt Gauger

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.