KintoneAppBuilder created

This commit is contained in:
2023-07-10 09:40:49 +09:00
commit 80446a3860
94 changed files with 13622 additions and 0 deletions

16
scripts/build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/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;
# Run migrations
docker-compose run --rm backend alembic upgrade head
# Create initial data
docker-compose run --rm backend python3 app/initial_data.py

7
scripts/test.sh Normal file
View File

@@ -0,0 +1,7 @@
#! /usr/bin/env bash
# Exit in case of error
set -e
docker-compose run backend pytest
docker-compose run frontend test

6
scripts/test_backend.sh Normal file
View File

@@ -0,0 +1,6 @@
#! /usr/bin/env bash
# Exit in case of error
set -e
docker-compose run backend pytest $@