Skip to content

Commit

Permalink
updated README.md file
Browse files Browse the repository at this point in the history
and the version of ependencies.
  • Loading branch information
hiroxpepe committed Jun 1, 2020
1 parent cdf8290 commit a6625bc
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 60 deletions.
97 changes: 47 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,51 @@
# exmpblog (c) by examproject

***
### What's this?
A blog based project using [Spring MVC](http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/mvc.html).

***
### How to run at the local?
You will need to get [Apache Maven](http://maven.apache.org/).

You will need to build this example at your command line.

> cd { path to this README.md directory. }
> mvn compile
> mvn install

Move to launcher project directory.

> cd exmp-blog-webapp

To run the .war application by jetty plugin.

> mvn jetty:run

You can access to http://localhost:8080/ on your web browser.
To stop the application hit ctrl + c

***
### How to run on the Heroku?
You will need to get [Git](http://git-scm.com/), of course.
You will need to create a application for [Heroku](http://www.heroku.com/), and must need to get the heroku tools, used [RubyGems](http://rubygems.org/).

To push the application for Heroku at your command line.

> cd { path to this README.md directory. }
> heroku login
> git push [email protected]:your-app-name.git

***
### Hosted on GitHub.
[hiroxpepe/exmpblog](https://github.com/hiroxpepe/exmpblog)

***
### Running on Heroku.
http://exmpblog.herokuapp.com/

***
### Author
# blog-examproject

---
## What's this?
a based project of a blog type application.
#### by using
- [Spring Framework 5.2.x](https://spring.io/projects/spring-framework)
- [Spring Data JPA 2.3.x](https://spring.io/projects/spring-data-jpa)
- [Hibernate 5.4.x](http://hibernate.org/)
- [jackson 2.11.0](https://github.com/FasterXML/jackson)
- [Apache Tiles 3.0.x](https://tiles.apache.org/)
- [Lombok 1.18.x](https://projectlombok.org/)
- [Logback 1.2.x](http://logback.qos.ch/)
- [Java 8](https://www.oracle.com/)

---
## How to run the application on your local?
- get [Apache Maven](http://maven.apache.org/).
- build this project by using command line.
```bash
> cd { path to this README.md directory. }
> mvn compile
> mvn install
```
- move to the directory of webapp.
```bash
> cd webapp
```
- run the web application by using jetty plugin.
```bash
> mvn jetty:run
```
- can access to http://localhost:8080/ on your web browser.
to stop the application hit ctrl + c
---
## Repository on Github.
[hiroxpepe/blog-examproject](https://github.com/hiroxpepe/blog-examproject)
---
## Running on Heroku.
http://blog-examproject.herokuapp.com/
---
## Author
[hiroxpepe](mailto:[email protected])
***
### License
---
## License
The examproject is released under version 2.0 of the
[Apache License](http://www.apache.org/licenses/LICENSE-2.0).
6 changes: 3 additions & 3 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<groupId>org.examproject</groupId>
<artifactId>exmp-blog-model</artifactId>
<packaging>jar</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>exmp-blog-model</name>

<properties>
<exmp-blog.version>${version}</exmp-blog.version>
<spring.data.jpa.version>2.1.9.RELEASE</spring.data.jpa.version>
<spring.data.jpa.version>2.3.0.RELEASE</spring.data.jpa.version>
<spring.version>5.2.6.RELEASE</spring.version>
<hibernate.version>5.4.3.Final</hibernate.version>
<hibernate.version>5.4.17.Final</hibernate.version>
<lombok.version>1.18.12</lombok.version>
<slf4j.version>1.7.30</slf4j.version>
<logback.version>1.2.3</logback.version>
Expand Down
6 changes: 3 additions & 3 deletions mvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.examproject</groupId>
<artifactId>exmp-blog-mvc</artifactId>
<packaging>jar</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>exmp-blog-mvc</name>

<properties>
Expand Down Expand Up @@ -119,11 +119,11 @@
<version>2.3.1</version>
<scope>provided</scope>
</dependency>
<!-- <dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency> -->
</dependency>

<!--//////////////////////////////////////////////////////////////////////////-->
<!-- TEST LIB -->
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.examproject</groupId>
<artifactId>exmp-blog</artifactId>
<packaging>pom</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>exmp-blog</name>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.examproject</groupId>
<artifactId>exmp-blog-service</artifactId>
<packaging>jar</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>exmp-blog-service</name>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<groupId>org.examproject</groupId>
<artifactId>exmp-blog-webapp</artifactId>
<packaging>war</packaging>
<version>1.0.1</version>
<version>1.0.2</version>
<name>exmp-blog-webapp</name>

<properties>
<exmp-blog.version>${version}</exmp-blog.version>
<jackson.version>2.10.4</jackson.version>
<jackson.version>2.11.0</jackson.version>
<tiles.version>3.0.8</tiles.version>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit a6625bc

Please sign in to comment.