-
Install PostgreSQL.
-
Create a user named pocketpilluser:
create role pocketpillsuser with LOGIN PASSWORD 'pocketpills@123';
-
Create a database named pocketpillsdb:
create database pocketpillsdb;
-
Provide create db role to pocketpillsuser:
alter role pocketpillsuser createdb;
You can connect to the database using the following command:
psql -h localhost -d pocketpillsdb -U pocketpillsuser
- Install Play framework for Java
- You may want to use Idea IntelliJ for development
To get this to work, perform the following steps:
- Import this project as File>New>Project from existing sources
- Ensure that sbt is selected in the next step under Import project from external model
- In the next step, ensure that the following two options are selected
- sbt sources
- Use sbt shell for build and import