prijatelilab / PrijateliTree

A FastAPI application used to play lab games and collect survey data.
MIT License
1 stars 0 forks source link

Add Goce Delcev to `high_schools` #81

Closed michplunkett closed 11 months ago

michplunkett commented 11 months ago

Describe Your Changes

Added Goce Delcev Middle School via migration.

Checklist Before Requesting a Review

(prijatelitree-py3.11) michaelp@MacBook-Air-18 PrijateliTree % make
poetry export --without-hashes --format=requirements.txt > requirements.txt
Configuration file exists at /Users/michaelp/Library/Preferences/pypoetry, reusing this directory.

Consider moving TOML configuration files to /Users/michaelp/Library/Application Support/pypoetry, as support for the legacy directory will be removed in an upcoming release.
docker-compose build
[+] Building 1.8s (13/13) FINISHED                                                                                                                                                         docker:desktop-linux
 => [web internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 357B                                                                                                                                                                       0.0s
 => [web internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                            0.0s
 => [web internal] load metadata for docker.io/library/python:3.11-slim-buster                                                                                                                             0.5s
 => [web auth] library/python:pull token for registry-1.docker.io                                                                                                                                          0.0s
 => [web 1/7] FROM docker.io/library/python:3.11-slim-buster@sha256:c46b0ae5728c2247b99903098ade3176a58e274d9c7d2efeaaab3e0621a53935                                                                       0.0s
 => [web internal] load build context                                                                                                                                                                      0.2s
 => => transferring context: 1.34MB                                                                                                                                                                        0.2s
 => CACHED [web 2/7] WORKDIR /usr/src/app                                                                                                                                                                  0.0s
 => CACHED [web 3/7] RUN apt-get update   && apt-get -y install netcat gcc postgresql libpq-dev python-dev   && apt-get clean                                                                              0.0s
 => CACHED [web 4/7] RUN pip install --upgrade pip                                                                                                                                                         0.0s
 => CACHED [web 5/7] COPY ./requirements.txt .                                                                                                                                                             0.0s
 => CACHED [web 6/7] RUN pip install -r requirements.txt                                                                                                                                                   0.0s
 => [web 7/7] COPY . .                                                                                                                                                                                     0.7s
 => [web] exporting to image                                                                                                                                                                               0.4s
 => => exporting layers                                                                                                                                                                                    0.4s
 => => writing image sha256:14f9a98f2298b4342fa921841e6bf5c901511e19eccbc5f6aca5a6402c289857                                                                                                               0.0s
 => => naming to docker.io/library/prijatelitree-web                                                                                                                                                       0.0s
docker-compose up -d
[+] Building 0.0s (0/0)                                                                                                                                                                    docker:desktop-linux
[+] Running 4/4
 ✔ Network prijatelitree_default       Created                                                                                                                                                             0.0s 
 ✔ Volume "prijatelitree_postgres"     Created                                                                                                                                                             0.0s 
 ✔ Container prijatelitree-postgres-1  Started                                                                                                                                                             0.0s 
 ✔ Container prijatelitree-web-1       Started                                                                                                                                                             0.0s 
Postgres is unavailable - sleeping...
Postgres is up
docker-compose run --rm web alembic --config=./prijateli_tree/migrations/alembic.ini upgrade head
[+] Building 0.0s (0/0)                                                                                                                                                                    docker:desktop-linux
[+] Creating 1/0
 ✔ Container prijatelitree-postgres-1  Running                                                                                                                                                             0.0s 
[+] Building 0.0s (0/0)                                                                                                                                                                    docker:desktop-linux
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> 44f42b35d858, empty message
INFO  [alembic.runtime.migration] Running upgrade 44f42b35d858 -> 47fe187bc716, empty message
INFO  [alembic.runtime.migration] Running upgrade 47fe187bc716 -> e5b498dd07a6, empty message
INFO  [alembic.runtime.migration] Running upgrade e5b498dd07a6 -> 260d503a3c0d, empty message
INFO  [alembic.runtime.migration] Running upgrade 260d503a3c0d -> 8a5c8a351948, empty message
INFO  [alembic.runtime.migration] Running upgrade 8a5c8a351948 -> 5489fb45e45e, empty message
INFO  [alembic.runtime.migration] Running upgrade 5489fb45e45e -> 21c9591d0d5d, empty message
INFO  [alembic.runtime.migration] Running upgrade 21c9591d0d5d -> 30991d313ac8, empty message
INFO  [alembic.runtime.migration] Running upgrade 30991d313ac8 -> 0735fdd31631, empty message
INFO  [alembic.runtime.migration] Running upgrade 0735fdd31631 -> 8d6d2f92cb84, empty message
INFO  [alembic.runtime.migration] Running upgrade 8d6d2f92cb84 -> 3d92f1e628d4, empty message
INFO  [alembic.runtime.migration] Running upgrade 3d92f1e628d4 -> 2904026841be, empty message
INFO  [alembic.runtime.migration] Running upgrade 2904026841be -> 169b451d6f2d, empty message
(prijatelitree-py3.11) michaelp@MacBook-Air-18 PrijateliTree %