A tumblelog built with clojure, luminus and postgresql.
- Clojure 69.4%
- HTML 16%
- Rust 6.3%
- CSS 6.3%
- PLpgSQL 1.1%
- Other 0.9%
| admin | ||
| env | ||
| resources | ||
| src/clj/multiplex | ||
| test/clj/multiplex | ||
| .gitignore | ||
| build_in_container.sh | ||
| COPYING | ||
| dev-config.edn.example | ||
| Dockerfile | ||
| project.clj | ||
| README.md | ||
| run-example.sh | ||
multiplex
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
- Fetch all dependencies via:
lein deps
- Create a postgres user and DB if you haven't already:
su - postgres
createuser -P USER
createdb -O USER DBNAME
- Configure credentials:
cp dev-config.edn.sample dev-config.edn
vim dev-config.edn
- Now run the DB migrations:
lein run migrate
- start the dev server
lein run
- 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