Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
add intellij description
Browse files Browse the repository at this point in the history
  • Loading branch information
feedm3 committed Apr 10, 2018
1 parent 9125ae3 commit 4ff6c27
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -10,8 +10,8 @@ This is a demo project to show Spring Boot in conjunction with GWT. It uses the

## Run

To run this project you have to start Spring Boot and GWT separate. If you use IntelliJ the run configurations
to do this are already present in this repo. _Note that you have to set the path to the static html file in your project strutures "Web" module to the [`static/resource`](src/main/resources/static) folder. Otherwise GWT will not find the index.html._
To run this project you have to start Spring Boot and GWT separate. If you use IntelliJ, see the
[IDEA Settings readme](docs/IDEA_SETTINGS.md) for the correct configuration.

Spring Boot can also be started with gradle.

Expand Down Expand Up @@ -49,7 +49,7 @@ After gradle build the project the finished jar file is in `build/libs/spring-bo
and can simply be started with

```
java -jar spring-boot-gwt-1.0.0.jar
java -jar build/libs/spring-boot-gwt-1.0.0.jar
```

### Heroku
Expand Down
13 changes: 13 additions & 0 deletions docs/IDEA_SETTINGS.md
@@ -0,0 +1,13 @@
# IDEA Settings

To run both the frontend and backend in IntelliJ, make sure the following settings are set:

#### Project Structure...

![GWT project structure web](gwt-project-structure-web.jpg)
![GWT project structure gwt](gwt-project-structure-gwt.jpg)

#### Run configs

![GWT run config](gwt-run-config.jpg)
![Spring run config](spring-run-config.jpg)
Binary file added docs/gwt-project-structure-gwt.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gwt-project-structure-web.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gwt-run-config.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/spring-run-config.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ff6c27

Please sign in to comment.