feat: implement automated Docker deployment and update README
- Replaced manual rsync/npm_deploy workflow with multi-stage Docker builds. - Added Dockerfile and .dockerignore for staging and production environments. - Added 'deploy:staging' and 'deploy:prod' scripts to package.json. - Updated README.md with new deployment instructions.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
// *** Libraries & Stores
|
||||
import { liveQuery } from 'dexie';
|
||||
import { Modal } from 'flowbite-svelte';
|
||||
import { db_core } from '$lib/ae_core/db_core';
|
||||
import { db_journals } from '$lib/ae_journals/db_journals';
|
||||
import { journals_func } from '$lib/ae_journals/ae_journals_functions';
|
||||
import { ae_loc, ae_api, slct } from '$lib/stores/ae_stores';
|
||||
@@ -47,6 +48,13 @@
|
||||
let log_lvl = 0;
|
||||
|
||||
// *** LiveQueries
|
||||
let lq__account = $derived(
|
||||
liveQuery(async () => {
|
||||
if (!$slct.account_id) return null;
|
||||
return await db_core.account.get($slct.account_id);
|
||||
})
|
||||
);
|
||||
|
||||
let lq__journal_obj_li = $derived(
|
||||
liveQuery(async () => {
|
||||
return await db_journals.journal
|
||||
@@ -105,7 +113,7 @@
|
||||
</h1>
|
||||
<p class="text-surface-600 dark:text-surface-400 font-medium">
|
||||
Managed by <span class="text-primary-500"
|
||||
>{$ae_loc.account_name ?? 'Æ loading...'}</span
|
||||
>{$lq__account?.name ?? $ae_loc.account_name ?? 'Æ loading...'}</span
|
||||
>
|
||||
{#if $ae_loc.person.given_name}
|
||||
• <span class="opacity-75"
|
||||
|
||||
Reference in New Issue
Block a user