NixMash Blog is a Java Spring Web Bootstrap 3 application based on NixMash Spring. You can see it in action at NixMash. NixMash Blog is built and runs on Linux. You can view the NixMash Blog Changelist here.
If you wish to move your WordPress Blog to the NixMash Blog application, a WordPress-to-NixMash Blog migration application is available on GitHub here.
It wasn't our intention to build another Blog Engine, but the blogging capability in NixMash Spring made the idea of creating a standalone blogging application a non-brainer for several reasons:
- Darn good basic blogging features like Tags, Categories and RSS
- Solr Post search
- Variety of Post Formats like Links, Standard Posts, Multiple and Single Post display
- User support features like Password Reset and Social Login with Facebook, Google and Twitter
- Built in 100% Java Spring, with Thymeleaf View Rendering and Bootstrap 3
- Easily customizable
- Can be used as a basis for client applications
- NOT WordPress (which is awesome), but with the worries of hacking and those frequent site updates
- Deployed as a WAR with embedded Jetty Web Server. Can be configured to use embedded H2Database and embedded Solr as well.
- Fully documented on detailed blog posts on NixMash.com and elsewhere
- Free and Open Source, licensed under GNU GPL v3
Download the NixMash Blog source code from GitHub and build the application in your IDE or in Gradle. For Gradle there is a Build Script in /install/sh/buildAll.sh
which will build this multi-module app.
Other setup steps BEFORE BUILDING THE APPLICATION THE FIRST TIME are:
- Install Solr Server. There are several posts on NixMash.com on how to do this with points specific to this app or NixMash Spring. To run Solr tests, populate the HTTP Solr Server AND Embedded Solr server with the
/install/solr/refreshSolr.sh
script. This will also confirm that Solr is property configured. - Run the MySQL Setup script in
/install/sql/mysqlsetup.sql.
Then run/install/sql/initialize.sql.
IF YOU ARE MIGRATING A WORDPRESS BLOG, FOLLOW THE MIGRATOR APP SQL SETUP INSTRUCTIONS. If you decide to setup NixMash Blog and THEN decide to migrate a WordPress Blog the sequence would be (1)mysqlsetup.sql
(2) Migrate the WordPress Blog data, then (3) runinitialize.sql.
- Configure
jpa/src/main/resources/application.properties
propertyblog.properties.file.path.
This determines the path to your externalblog.properties
file. - Update appropriate properties in the external
blog.properties
file.
The site is configured to allow user logins through both Site Registration and the Social Services of Facebook, Google and Twitter. You can disable user account creation with the blog.loginEnabled
property in the external blog.properties
file.
The default user is "Ken Watts" (fictitious) with the following account credentials:
USERNAME: ken PASSWORD: password
Please remember to change the username and password before going live...
- For Development the app is configured to use port 9000, or https://localhost:9000
- NixMash Blog is configured to use resources from a file path specified in the external
blog.properties
file. For development and testing the app on https://localhost:9000, there is a script to create a softlink to this file path root in/install/linkbBuild.sh.
- The best way to package the application for deployment is with Gradle. The command would be
$ gradle mvc:clean mvc:bootRepackage
NixMash Blog is Open Source. We only require that you abide by the terms of the GNU GPL v3 License.