Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 532 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 532 Bytes

go-proj

A website with a Go backend.

Installation

Install dependencies for the server

cd ./server && go mod vendor

and client.

cd .. && npm i

Set environment variables for:

  • SERVER_PORT

  • CLIENT_PORT

  • DB_PORT

  • DB_ROOT_PW

  • DB_USER

  • DB_PASSWORD

  • DB_NAME

If you need to change the DB environment variables at any point, make sure to delete /data before running the container. Otherwise you can update them manually inside the container.

How To Run

docker compose up