CHunky Universe of Vigourous Astonishing SHarepoint :)

Playing with play!

play! frameworkInspired by ComputerSweden I played with Play!

Here I’ll just put some commands to create and deploy a Play! web application, actually more for myself, to remember the steps to get started quickly. It would be great of course, if someone else finds it useful. The code for this little simple app.

Play! is a java based framework for web applications. It reminds the rails framework and provides many useful features as CRUD, REST and more out of the box.

In this post I create an
download play and unpack in your home directory
add to your path and save this in login script (.bashrc)

export PATH=/home/mirontoli/play-1.2.4/:$PATH
echo -e ‘\nexport PATH=/home/mirontoli/play-1.2.4/:$PATH’ >> ~/.bashrc

Create a new Play! web app:

play new followup

Change index.html and add some info in (useful for github):

cd followup
vi app/views/Application/index.html

create a .gitignore file and save this:


create a repo on github and init it:

git init
git add .
git commit -m init
git remote add origin
git push -u origin master

Prepare for Heroku:

echo "web: play run --http.port=$PORT $PLAY_OPTS" > Procfile

Install heroku gem:

sudo apt-get install rubygems
export PATH=/var/lib/gems/1.8/bin:$PATH
echo -e ‘\nexport PATH=/var/lib/gems/1.8/bin:$PATH’ >> ~/.bashrc
sudo gem install heroku
heroku keys:add

I had a virtual ubuntu server virtual machine where heroku already was installed so I created the application in that machine:

git clone
cd followup
vi Procfile
heroku create -s cedar
heroku rename fo11owup
git push heroku master

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Daniel Chronlund Cloud Tech Blog

News, tips and thoughts for Microsoft cloud fans

Вула Чăвашла

VulaCV - Чăвашла вулаттаракан сайт

Discovering SharePoint

And going crazy doing it

Bram de Jager - Architect, Speaker, Author

Microsoft 365, SharePoint and Azure

SharePoint Dragons

Nikander & Margriet on SharePoint

Mai Omar Desouki

PFE @ Microsoft

Cameron Dwyer

Office 365, SharePoint, Azure, OnePlace Solutions & Life's Other Little Wonders


Me and My doings!

Share SharePoint Points !

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

Aryan Nava

DevOps, Cloud and Blockchain Consultant


SharePoint for everyone


Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint


Mostly what I know and share about...

%d bloggers like this: