diff --git a/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue index f825c4c0..cf799e2d 100644 --- a/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue +++ b/arches_lingo/src/arches_lingo/components/scheme/editor/SchemeEditor.vue @@ -36,7 +36,6 @@ const schemeComponents = [ const emit = defineEmits(["maximize", "side", "close", "updated"]); - const toggleSize = () => { if (props.editorMax) { emit("maximize"); @@ -64,34 +63,37 @@ const updateScheme = async () => { }), ); - emit('updated'); + emit("updated"); }; - - diff --git a/arches_lingo/src/arches_lingo/pages/SchemePage.vue b/arches_lingo/src/arches_lingo/pages/SchemePage.vue index 264e89a0..18591fb8 100644 --- a/arches_lingo/src/arches_lingo/pages/SchemePage.vue +++ b/arches_lingo/src/arches_lingo/pages/SchemePage.vue @@ -9,8 +9,8 @@ import SchemeStandard from "@/arches_lingo/components/scheme/report/SchemeStanda import SchemeAuthority from "@/arches_lingo/components/scheme/report/SchemeAuthority.vue"; import SchemeEditor from "@/arches_lingo/components/scheme/editor/SchemeEditor.vue"; -const editorVisible = ref(true); -const sectionVisible = ref(true); +const editorVisible = ref(true); +const sectionVisible = ref(true); const editorTab = ref(); type sectionTypes = | typeof SchemeNamespace @@ -19,6 +19,7 @@ type sectionTypes = | typeof SchemeAuthority | typeof SchemeNote; const childRefs = ref>([]); + const onMaximize = () => { editorVisible.value = true; sectionVisible.value = false; diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..8f47d637 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: "3.8" +services: + arches-lingo: + container_name: arches-lingo + image: lingo-test + command: run_dev_server + volumes: + # To change these variables, modify/add the .env file prior to launch - NOT env_file.env + - ${ARCHES_CORE_HOST_DIR:-../arches/}:/web_root/arches + - ./:/web_root/arches-lingo + - $HOME/.aws/:/root/.aws/ + ports: + - ${HOST_PROJECT_PORT:-8059}:80 + - ${HOST_PROJECT_DEBUG_PORT:-5544}:5678 + stdin_open: true + env_file: + - ./docker/development/env_file.env + tty: true + labels: + - traefik.http.routers.my-container.rule=Host(`ca-shpo-online.local`) + - traefik.frontend.passHostHeader=true +networks: + default: + external: true + name: arches7-0-dev diff --git a/docker/development/env_file.env b/docker/development/env_file.env new file mode 100644 index 00000000..a2f49ba4 --- /dev/null +++ b/docker/development/env_file.env @@ -0,0 +1,32 @@ +#arches +ARCHES_PROJECT=arches-lingo +INSTALL_DEFAULT_GRAPHS=False +INSTALL_DEFAULT_CONCEPTS=False +PGPASSWORD=postgis +PGHOST=postgres14-3_arches7-0 +PGPORT=5432 +ARCHES_PUBLIC_SERVER_ADDRESS=http://localhost:80 +PGUSER=postgres +PGDATABASE=arches_lingo +ARCHES_ESHOST=elasticsearch8-3_arches7-0 +ARCHES_ESPORT=9200 +ARCHES_DJANGO_DEBUG=True +DJANGO_MODE=DEV +DOMAIN_NAMES=* +DJANGO_PORT=80 +#DJANGO_REMOTE_DEBUG=False +PYTHONUNBUFFERED=0 +TZ=PST +ELASTICSEARCH_PREFIX=disco + +#rabbitmq +RABBITMQ_USER=guest +RABBITMQ_PASS=guest + +#cantaloupe +CANTALOUPE_ENDPOINT_ADMIN_ENABLED=true +CANTALOUPE_ENDPOINT_ADMIN_USERNAME=admin +CANTALOUPE_ENDPOINT_ADMIN_SECRET=admin +CANTALOUPE_HOST=cantaloupe_disco +CANTALOUPE_PORT=8182 +CANTALOUPE_FILESYSTEMSOURCE_BASICLOOKUPSTRATEGY_PATH_PREFIX=/imageroot/