Public resources for DTT development
Download the postman desktop client
Create a new workspace
Import the following environments:
Import the following collections:
For local development, you need redis/postgres instances.
Run the provided docker-compose file to get these up and running:
docker-compose up -d
This will run the services on your localhost accessible at the following ports:
- postgres
5432
- redis
6379
- pgadmin
15433
Use these values in your local .env
configurations
Quickly get the frontend backend up with our utility script
Pre-requisites:
tmux
installed and be- connected to the vpn.
kdtt-dev
alias for your dtt-dev k8s admin file.alias kdtt-dev="export KUBECONFIG=~/.kube/dtt-dev.conf"
- clone the frontend/backend
- Your tree should look like this:
├──DTT/ ├──DTT-public-repo/ ├──DTT-Backend/ ├──DTT-Frontend/
- Your tree should look like this:
Then run this script:
./start.sh
If you have an application blocking these ports, use this command with caution, it will kill whatever process is running on the port. Useful if you lost a tmux shell.
fuser -k 5000/tcp
fuser -k 8000/tcp
Here's a tmux man page