Skip to content

cloudtides/CloudTides

 
 

Repository files navigation

CloudTides

Dependencies

Setup requires Docker.

Create a .env file in the root of this repo with following configurations:

POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PORT=4201
SERVER_IP=0.0.0.0
SERVER_PORT=80
ADMIN_USER=
ADMIN_PASSWORD=
SECRET_KEY=
OFFICIAL_EMAIL=
OFFICIAL_PASSWORD=

POSTGRES_HOST should be the IP address of your computer in your connected network. OFFICIAL_EMAIL and OFFICIAL_PASSWORD should be the address and password of email which sends verification code and generated password.

Setting up the app

Checkout the branch for a given tutorial, and run docker-compose build or docker-compose up --build

Running the app on local machine

Run docker-compose up to see messages in the terminal. Run docker-compose start to run the app in the background.

Potential Issues

If encounter timeout error when setting up docker-compose for frontend then use the following in terminal before running docker-compose

export DOCKER_CLIENT_TIMEOUT=120
export COMPOSE_HTTP_TIMEOUT=120

Releases

No releases published

Packages

No packages published

Languages

  • Go 32.3%
  • TypeScript 26.3%
  • HTML 17.2%
  • Python 11.7%
  • SCSS 4.2%
  • CSS 4.1%
  • Other 4.2%