wink · Codeberg.org

This is my little tumblelog. (or soup.io clone, if you like - thanks for hosting me, but I never really used the social features, I just noticed the downtimes.)

This is a complete rewrite started in late 2021, the original version ran from 2013 through 2021.

Prerequisites

You will need Leiningen 2.0 or above and PostgreSQL installed.

Setup

  1. Fetch all dependencies via:
  lein deps
  1. Create a postgres user and DB if you haven't already:
  su - postgres
  createuser -P USER
  createdb -O USER DBNAME
  1. Configure credentials:
  cp dev-config.edn.sample dev-config.edn
  vim dev-config.edn
  1. Now run the DB migrations:
  lein run migrate
  1. start the dev server
  lein run
  1. Alternatively, create a user:
lein repl
(mount/start)
(create-user {:username "multiplex" :password "multiplex" :hostname "mpx.local" :email "e@example.org" :title "testoplex" :avatar "foo"})

Building

lein uberjar

Running in prod

For the production setup, run:

  cp run-example.sh run.sh
  ./run.sh

Tests (to be improved)

    lein test

License

Copyright © 2013-2026 Florian Anderiasch and contributors. Distributed under the Eclipse Public License, the same as Clojure uses. See the file COPYING.

Icons by Maps Icons Collection, CC-BY-SA 3.0

Read the original on codeberg.org ↗