https://github.com/motdotla/spring-attack
This is an example app for my session at the SpringOne2Gx.
https://github.com/motdotla/spring-attack
Last synced: 7 months ago
JSON representation
This is an example app for my session at the SpringOne2Gx.
- Host: GitHub
- URL: https://github.com/motdotla/spring-attack
- Owner: motdotla
- Created: 2013-08-29T22:43:53.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-14T01:04:19.000Z (almost 12 years ago)
- Last Synced: 2024-10-14T11:03:31.293Z (12 months ago)
- Language: CSS
- Size: 301 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-attack
This is an example app for my session at the [SpringOne2Gx](http://www.springone2gx.com/conference/santa_clara/2013/09/springone/event_schedule). It demonstrates combining [SendGrid](http://docs.cloudfoundry.com/docs/dotcom/marketplace/services/sendgrid.html) and [Cloudfoundry](http://cloudfoundry.com/).

## Demo
Show the app code. Run it with gradle jettyRunWar locally.
Show that you then do `gem install cf` but just in a slide.
Go through the following steps live.
```bash
cf target api.run.pivotal.io
cf login
gradle assemble
cf push --path build/libs/spring-attack.war
```Then show the live running app. Then add SendGrid.
```bash
cf create-service sendgrid
cf bind-service
```## Production
### Deploy to Cloud Foundry
```bash
gem install cf
cf target api.run.pivotal.io
cf login
gradle assemble
cf push --path build/libs/spring-attack.war
```
## Development### Usage
```bash
gradle jettyRunWar
```Visit [http://localhost:8080](http://localhost:8080).