neeraj231196
11/26/2019 - 10:07 AM

Run Test Cases Inside 165 Server

A. SSH into 165 PP Server

  1. cd /usr/local/goibibo/source/golambda_image/
  2. git checkout golambda_next
  3. docker build -t golambda_image .
  4. cd /usr/local/goibibo/source/common_lambda
  5. docker-compose build
  6. docker-compose up -d
  7. docker ps -- > Find the running container for common_lambda_golambda_vertical
  8. docker exec -it <container_id> bash
  9. then do source /usr/venv/bin/activate to activate the virtual environment
  10. ./manage.py test --noinput