Blog articles API for Script Fuzz
Java 8
or higherMongoDB
Maven 3.3.1
or higher
- AngularJS 1.2.x
- Java8
- SparkJava 2.2.x
- MongoDB 2.6.x
- Import the src code to your IDE
- Make sure you have
mongod
running inlocalhost@27017
- Execute
import-seed.sh
- Add VM parameter
-Dmode=dev
to IDE's run configuration - Run BlogServer and visit localhost:4567
- Add Maven and Java8 to your
PATH
variable - Assuming you have
MongoDB
runnning on your system@port 27017
- Clone this repository
- Execute
./deploy.sh
-Edit this script for custom deployment - Visit
localhost:4567
- Running
mvn clean package
will create the distribution jar. - The application is packaged as a
fat jar
namedmars-VERSION-jar-with-dependencies.jar
in the/target
directory. Feel free to move this jar to your deployment directory of choosing. - To Run simple execute:
java -jar mars-VERSION-jar-with-dependnecies.jar
, where VERSION is as specified in thepom.xml
.
You can write an article in markdown
You can even find a previous article and update/replace it with the changes.