Skip to content

DTLab-LabCN/DTT-public-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTT-public-resources

Public resources for DTT development

POSTMAN

Download the postman desktop client

Create a new workspace

Import the following environments:

Import the following collections:

DOCKER

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

Startup script

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/
      

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

About

Public resources for DTT development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages