Skip to content

datumbrain/play-jwt-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-jwt-starter

play-jwt-starter project.

Setup Database

To setup PostgreSQL database install using

sudo apt install postgresql-9.5
  1. Create a new user in database
sudo -u postgres createuser playdb
  1. Run the following query to set password in psql console
ALTER USER playdb WITH ENCRYPTED PASSWORD '<HERE>';

Note: You can pick up the password from configuration file application.conf.

  1. Create the database
CREATE DATABASE playdb;
  1. Grant database access to newly created user playdb
GRANT ALL PRIVILEGES ON DATABASE playdb TO playdb;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages