Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 746 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 746 Bytes

Logo

Getting Started

Backend

  1. Navigate into server directory: cd server
  2. Run docker-compose: docker-compose up

Populating SQL data

  • Create a dump from locale db: pg_dump -U postgres slack -f dump.sql
  • Connect to database in docker: psql -h localhost -p 3030 -U postgres slack
  • Drop current database in docker: dropdb -h localhost -p 3030 -U postgres slack
  • Create new database: createdb -h localhost -p 3030 -U postgres slack
  • Write data from dump into database: psql -h localhost -p 3030 -U postgres slack < dump.sql

Frontend

  1. Navigate into client directory: cd client
  2. Install dependencies and start the application:
    yarn install
    yarn start