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
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:token.secretKey and URL settings, then run:
8090.
3. Start the admin console
http://localhost:8079 and sign in with the default account:
4. Start the public blog
http://localhost:8080 to view the site.