2025-02-05 12:42:36 +01:00
|
|
|
blog-software(config, template, content) = blog website
|
2025-01-19 10:15:42 +01:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2025-02-08 13:59:52 +01:00
|
|
|
1. [Download the program from here](https://git.m724.eu/Minecon724/-/packages/maven/eu.m724-blog) \
|
|
|
|
Locate "Assets" and download the **-shaded**.jar
|
2025-01-19 10:15:42 +01:00
|
|
|
2. Get a working directory. [Example](https://git.m724.eu/Minecon724/blog-software-java/src/branch/master/example_workdir) \
|
|
|
|
Don't forget to `git init`!
|
|
|
|
3. Run the program:
|
|
|
|
```shell
|
2025-02-08 13:59:52 +01:00
|
|
|
java -jar blog-0.0.1-shaded.jar
|
2025-01-19 10:15:42 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Important caveats
|
|
|
|
Generated site must be the root of a subdomain, like `https://example.com/`. \
|
2025-02-08 13:59:52 +01:00
|
|
|
You can't put it in a directory, like `https://example.com/blog/`
|
|
|
|
|
|
|
|
## API
|
|
|
|
There's no "API," but it's possible to integrate this into your Java project.
|
|
|
|
|
|
|
|
See [Main.java](/Minecon724/blog-software-java/src/branch/master/src/main/java/eu/m724/blog/Main.java) for an example. \
|
|
|
|
If you need a Maven dependency, [see here](https://git.m724.eu/Minecon724/-/packages/maven/eu.m724-blog)
|