mirror of
https://github.com/ethauvin/rife2-hello.git
synced 2025-04-24 15:07:11 -07:00
Added readme and updated git ignore.
This commit is contained in:
parent
c40209698c
commit
217c35ec76
2 changed files with 50 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,3 +3,6 @@
|
|||
|
||||
# Ignore Gradle build output directory
|
||||
build
|
||||
|
||||
# Ignore IDEA project files
|
||||
.idea
|
||||
|
|
47
README.md
Normal file
47
README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# RIFE2 bootstrap project structure
|
||||
|
||||
This project helps you to get started with a RIFE2 web application and Gradle.
|
||||
|
||||
You'll find all the pieces that are explained in the first sections of
|
||||
[the documentation](https://github.com/gbevin/rife2/wiki) neatly contained
|
||||
in this one project.
|
||||
|
||||
It's ready to run, package and deploy ... and for you to have fun developing
|
||||
in a very iterative, intuitive and rewarding way.
|
||||
|
||||
For all things RIFE2, head on to the project website:
|
||||
[https://rife2.com](https://rife2.com)
|
||||
|
||||
## Running the server
|
||||
|
||||
```bash
|
||||
./gradlew clean run
|
||||
```
|
||||
|
||||
Go to:
|
||||
|
||||
[http://localhost:8080/](http://localhost:8080/)
|
||||
|
||||
|
||||
## Deploying the app
|
||||
|
||||
```bash
|
||||
./gradlew clean war
|
||||
```
|
||||
|
||||
The resulting archive will be in:
|
||||
`war/build/libs`
|
||||
|
||||
|
||||
## Making an UberJar
|
||||
|
||||
|
||||
```bash
|
||||
./gradlew clean uberJar
|
||||
```
|
||||
|
||||
Then run it with:
|
||||
|
||||
```bash
|
||||
java -jar app/build/libs/hello-uber-1.0.jar
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue