1. Create account in paiza.cloud
2. Create New file: myapp.rb
3. Open Terminal:
Install sinatra:
sudo gem install sinatra
4. Terminal:
ruby myapp.rb
5. Icon
In the left side create icon 4567
Click
https://localhost-profeitm-1.paiza-user.cloud:4567/
And there apper the app. Hello World
References:
https://www.netguru.com/codestories/first-steps-sinatra-1
https://engineering.paiza.io/entry/paizacloud_sinatra
No hay comentarios:
Publicar un comentario