Driky / japila-play-slick-postgresql-seed

Japila Software's Play with Slick and PostgreSQL Seed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Japila Software's Play with Slick and PostgreSQL Seed

A Play Framework project using Slick to access data in PostgreSQL database.

Set up PostgreSQL

  1. Create sandbox database using createdb sandbox.

  2. Start PostgreSQL using postgres -D /usr/local/var/postgres (or whatever command is suitable for your development environment).

  3. Check out the sandbox database using psql.

     ➜  ~  psql
     psql (9.4.0)
     Type "help" for help.
    
     jacek=# \c sandbox
     You are now connected to database "sandbox" as user "jacek".
     sandbox=# \dt
              List of relations
      Schema |   Name    | Type  | Owner
     --------+-----------+-------+-------
     (0 rows)
    

About

Japila Software's Play with Slick and PostgreSQL Seed

License:Apache License 2.0


Languages

Language:Scala 87.0%Language:HTML 11.2%Language:JavaScript 1.9%