Skip to main content
This guide gets you to a minimal running BlogLoom: initialize the database, start the backend, then launch the admin console and the public blog.
Prefer not to install JDK and Node.js on the server? See Docker deployment for a one-command start.

Prerequisites

  • JDK 8 or later
  • Maven 3.6+
  • Node.js 16+ and npm
  • MySQL 5.7+ or MySQL 8

1. Initialize the database

Copy the config template and fill in the database connection:
Then run the incremental SQL to initialize:
The script runs the scripts under sql/increment/ in timestamp order (the baseline includes the schema) and writes execution records to sql/local/, so it is safe to rerun. See Initialize the database for details.

2. Configure and start the backend

Local development config lives at:
Check the database, token.secretKey and URL settings, then run:
The backend listens on 8090.

3. Start the admin console

Open http://localhost:8079 and sign in with the default account:

4. Start the public blog

Open http://localhost:8080 to view the site.

Next steps