Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhenke/heroku-railo4
Railo4 on Heroku
https://github.com/mhenke/heroku-railo4
Last synced: 18 days ago
JSON representation
Railo4 on Heroku
- Host: GitHub
- URL: https://github.com/mhenke/heroku-railo4
- Owner: mhenke
- Created: 2013-02-17T19:30:40.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-07T00:59:54.000Z (almost 12 years ago)
- Last Synced: 2024-11-11T09:50:01.442Z (3 months ago)
- Language: ColdFusion
- Size: 2.11 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Railo4 on Heroku
This is a demo app running Railo4 on Heroku
## Create the application
1. Create a directory for your application```
$ mkdir railo
```## Setup the application
- Heroku directory: /home/mhenke/git/heroku/railo
1. Download the heroku-railo project and unzip into your Heroku directory:
- This command is ran beneath the Heroku directory in /home/mhenke/git/heroku```
$ sudo wget -qO- -O tmp.zip https://github.com/mhenke/heroku-railo4/archive/master.zip && unzip -qd . tmp.zip && rm -f tmp.zip && cp -R heroku-railo4-master/* railo && rm -r heroku-railo4-master
```## Running locally
1. First build within the heroku directory:```
$ mvn clean package
```1. Then run command below and see your app at http://localhost:8080
```
$ java -cp target/classes:target/dependency/* com.example.Main
```## Creating and Deploying the application
1. Initialize git, add, and commit changes```
$ sudo wget https://raw.github.com/mhenke/heroku-railo4/master/.gitignore
$ git init
$ git add .
$ git commit -m "first commit to heroku"
```1. Create Heroku application
```
$ heroku create
$ heroku open
```
1. Deploy and see the live demo app at:```
$ git push heroku master
$ heroku open
```# Thanks
I have to thank Denny ([email protected]) for helping me figure out the railo repository# References:
## How to run the jetty embedded server:
http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty#Creating_a_Server
## Install Railo on Jetty:
http://wiki.getrailo.org/wiki/installation:jetty
## URL Rewrite:
http://tuckey.org/urlrewrite/
## Git Related (Examples):
```
$ git remote add heroku [email protected]:project.git
$ git remote rm heroku
```
http://edgar.tumblr.com/post/12610398221/how-to-link-your-git-project-with-an-existing-heroku
## Heroku
### Java on Heroku
http://java.heroku.com/
### Getting Started with Java on Heroku
https://devcenter.heroku.com/articles/java
### Getting Started with Heroku & Eclipse
https://devcenter.heroku.com/articles/getting-started-with-heroku-eclipse