You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
292 B

  1. #!/usr/bin/env bash
  2. set -e
  3. # containers
  4. export COMPOSE_PROJECT_NAME=lesspass
  5. docker-compose build
  6. docker-compose down -v
  7. docker-compose up -d
  8. docker exec -it lesspass_backend_1 sh -c 'python wait_db.py'
  9. docker exec -it lesspass_backend_1 sh -c 'python manage.py test'
  10. docker-compose down -v