init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit in case of error
|
||||
set -e
|
||||
|
||||
# Build and run containers
|
||||
docker-compose up -d
|
||||
|
||||
# Hack to wait for postgres container to be up before running alembic migrations
|
||||
sleep 5;
|
||||
|
||||
# build
|
||||
docker-compose build
|
||||
@@ -0,0 +1,6 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# Exit in case of error
|
||||
set -e
|
||||
|
||||
docker-compose run {{ cookiecutter.project_slug }} pytest
|
||||
Reference in New Issue
Block a user