make sure docker group is added (so docker can open ports without sudo)
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo systemctl restart docker
add wait-for-it submodule
git submodule init
git submodule update --recursive
# init databases and install node modules (only necessary during setup)
./install.sh
# start the server in development mode
./start.sh dev
# enter into any running container in this project
./shell.sh [service_name]
# get to a postgres client with
docker run -it --network=telebumapp_db postgres:9.6 \
psql -h postgres -p 5432 -d telebum -U postgres
# or
pgcli postgres://postgres:test@localhost:5432/telebum
To install packages, use shell.sh
. A weird issue is that webpack cannot detect a new
packages after you require it in a file given it is not already installed. Therefore, when
adding new packages follow this order:
./shell [service]
- $
yarn add package
- now import package to file