Clone this repository and:
-
Download: play-2.1.1.zip
-
Unzip into a
<directory of your choice> -
Add
<directory of your choice>/play-2.1.1/to yourPATH(or symlinkplay-2.1.1/play/into~/bin/) -
Do ONE of the following two alternatives:
5a (easy). Edit
conf/application.confand replace the postgres-config with this:db.default.driver=org.h2.Driver db.default.url="jdbc:h2:mem:play" db.default.user=sa db.default.password=
5b (harder). Set up a postgres database with a superuser called
playblogwith passwordplayblog -
cdinto the root of cloned the repository and run:play run -
Navigate to http://localhost:9000/posts