Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 553 Bytes

HOWTO_USE_POSTGRESQL.md

File metadata and controls

11 lines (8 loc) · 553 Bytes

How to set up Spoke with Postgresql

To use Postgresql, follow these steps:

  1. Either install docker (recommended) or postgresql on your machine:
    • If you installed docker run the database using: docker-compose up
    • If you installed postgres locally, create the spoke dev database: psql -c "create database spokedev;"
  2. In .env set DB_TYPE=pg. (Otherwise, you will use sqlite.)
  3. Set DB_PORT=5432, which is the default port for Postgres.

That's all you need to do initially. The tables will be created the first time the app runs.