This is a simple Microblogging web application. Any resemblance to existing internet services is coincidental.
This project uses Spring MVC, Spring Data JPA, Spring Security, and Apache Tiles.
Copyright © 2014-, Drew Repasky. Licensed under Apache License, Version 2.0.
This project requires a Java Development Kit v1.6 or newer and Apache Maven 3 to compile the source code. If you simply want to test drive the application, it does not require a stand-alone Java application server.
This webapp requires a database, so setup one and add the following JNDI entry to your servlet container: jdbc/microblog
Add your database settings like username & password to this file if using Tomcat: src/main/webapp/META-INF/context.xml
and the schema will be created when the application starts.
The app includes database drivers for MySQL 5 and uses that dialect by default.
First, download the latest and greatest source code:
git clone git://github.com/d-rep/Microblog.git
Build and run the code with the following commands:
cd Microblog
mvn clean install
mvn tomcat7:run
Then open your browser to this address: http://localhost:8080/microblog/
This project does not require an IDE, but is setup to be edited using an Eclipse-based editor like Spring Tool Suite. You should also install the m2eclipse plugin from Eclipse Marketplace.
- Create a new workspace
- click File -> Import -> General -> Existing Projects into Workspace
- For the root directory, select the microblog directory from the git repository you cloned locally.
- click Finish