Skip to content
Snippets Groups Projects
Select Git revision
  • 166a27ddad2b326b49c1da5c4430fff012123b1e
  • master default protected
2 results

docker-compose.yml

Blame
  • app.ts 850 B
    // Read from the .env file
    // ATTENTION : These lines MUST be the first of this file (except for the path import)
    import path = require('node:path');
    import myEnv = require('dotenv');
    import dotenvExpand = require('dotenv-expand');
    
    
    dotenvExpand.expand(myEnv.config({
                                         path      : path.join(__dirname, '../.env'),
                                         DOTENV_KEY: 'dotenv://:key_fc323d8e0a02349342f1c6a119bb38495958ce3a43a87d19a3f674b7e2896dcb@dotenv.local/vault/.env.vault?environment=development'
                                     }));
    
    require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
    
    
    import CommanderApp from './commander/CommanderApp';
    import HttpManager  from './managers/HttpManager';
    
    
    HttpManager.registerAxiosInterceptor();
    
    
    new CommanderApp();