nitrous.io初探
1. Register account
register git
register heroku
register mongolab
create a workspace of nodejs
2. Download package
1 | apache-maven-3.1.0-bin.tar.gz |
Command
1 | npm init |
3. heroku
heroku login
heroku create
run java -cp target/classes:target/dependency/* hello.App
in nitrous then preview http://my-awesome-box-30153.apne1.nitrousbox.com/
git commit -a && git push heroku master
then preivew http://agile-thicket-5152.herokuapp.com/
getting-started-with-java
create-a-java-web-application-using-embedded-tomcat
war-deployment