Liking cljdoc? Tell your friends :D

andrewslai

Welcome to my personal website! It is currently hosted at https://andrewslai.com.

This repository is the website backend. It contains:

  • Backend: Clojure web server on Java 11.
  • Infrastructure: Terraform for AWS cloud infrastructure

Installation/setup

Clone the repo and install leiningen.

Tests

lein test

Build: Uberjar

lein do clean, uberjar

Build: Docker

lein do clean, uberjar
docker build -t andrewslai .

Run without Docker

lein run

Run with Docker

After docker build and setting up .env.local with correct environment

docker run --env-file=.env.local -p 5000:5000 andrewslai

Development

For local development, see local-development.md

Deployment

To deploy, follow instructions in deployment.md

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close