Quickstart
Let's get started with your first project using Clojure Stack Lite!
Create Your Application
Generate a New Project
Replace myproject
with your desired project name and run the following command using Clojure CLI:
If you already have Clojure CLI with Clojure 1.12.x
and the deps-new
tool installed, you can simply run:
Start Development Environment
mise is a convenient tool for managing system dependencies in isolated environments for different projects.
If you prefer, you can install all required tools manually by consulting the .mise.toml
file for specific versions.
Your server should now be running and available at http://localhost:8000.
Update Placeholders
Before deploying to production, you should update the following placeholders in your project:
- The
LABEL
inDockerfile
to reference your project's repository for correct image attribution - The domain in the
id
field ofresources/public/manifest.json
to properly configure your web app as a PWA
Project Structure
Your newly generated project will have the following structure:
Next Steps
Now that you've generated your new project, you can either start building a simple application right away or learn more about different aspects of your project. Choose whichever path you prefer!