Add the V2 web app: design system, shell, study flows, AI, settings, sharing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
eae109c166
commit
74a98ac1f1
52 changed files with 11976 additions and 1 deletions
|
|
@ -17,6 +17,12 @@ function log(level: 'info' | 'warn' | 'error', message: string, extra?: unknown)
|
|||
}
|
||||
|
||||
async function main(): Promise<void> {
|
||||
// Optional .env file for running outside Docker. Real environment variables always win.
|
||||
try {
|
||||
process.loadEnvFile('.env');
|
||||
} catch {
|
||||
/* no .env file: that is the normal case in a container */
|
||||
}
|
||||
const config = loadConfig();
|
||||
log('info', `Study Desk ${APP_VERSION} starting (data: ${config.dataDir})`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue