On Heromu

by barracobarner

heroku-cmdline

dari tutorial https://toolbelt.heroku.com/ dan https://devcenter.heroku.com/articles/quickstart,  kt masukkan user/pass

heroku-login

heroku-createapp

kt bc ini https://devcenter.heroku.com/articles/quickstart bs gunakan clojure, java, node, python, ruby dan scala, err pake semuanya aja.
abis itu kita mulai kerjaan:
https://devcenter.heroku.com/articles/getting-started-with-ruby
https://devcenter.heroku.com/articles/getting-started-with-rails4
https://devcenter.heroku.com/articles/getting-started-with-nodejs
https://devcenter.heroku.com/articles/getting-started-with-java
https://devcenter.heroku.com/articles/getting-started-with-spring-mvc-hibernate
https://devcenter.heroku.com/articles/getting-started-with-play
https://devcenter.heroku.com/articles/getting-started-with-python
https://devcenter.heroku.com/articles/getting-started-with-django
https://devcenter.heroku.com/articles/getting-started-with-clojure
https://devcenter.heroku.com/articles/getting-started-with-scala

misal kita mulai dg versi python dulu, tapi butuh virtualenv yg bs diinstall dg petunjuk dari sini. utk kita cukup jalankan pip install virtualenv{wrapper-powershell}

heroku-virtualenv

selanjutnya install flask web framework dan gunicorn webserver dg pip install Flask gunicorn

c:\training\heroku\myapp>np hello.py

c:\training\heroku\myapp>np Procfile

c:\training\heroku\myapp>foreman start

foreman dll ada di C:\Program Files (x86)\Heroku\ruby-1.9.2\bin.

Advertisements