- Initialize git repository - Add comprehensive .gitignore (protects .env and secrets) - Fix package.json (correct main entry, add metadata) - Expand .env.example with all required variables and comments - Add README.md with architecture, setup, and commands - Clean up empty scaffolding directories (logs removed, agents/models marked) - Backup previous .env file locally This establishes a safe foundation before further development.
29 lines
No EOL
830 B
JavaScript
29 lines
No EOL
830 B
JavaScript
require('dotenv').config();
|
|
|
|
module.exports = {
|
|
webex: {
|
|
token: process.env.WEBEX_ACCESS_TOKEN,
|
|
name: process.env.BOT_NAME || 'NetAnalyzer'
|
|
},
|
|
meraki: {
|
|
baseUrl: 'https://api.meraki.com/api/v1',
|
|
apiKey: process.env.MERAKI_API_KEY,
|
|
orgId: process.env.MERAKI_ORG_ID
|
|
},
|
|
ws: {
|
|
port: parseInt(process.env.WS_PORT) || 8080,
|
|
token: process.env.WS_TOKEN
|
|
},
|
|
siw: {
|
|
baseUrl: process.env.SIW_BASE_URL,
|
|
username: process.env.SIW_USERNAME,
|
|
password: process.env.SIW_PASSWORD
|
|
},
|
|
mdm: {
|
|
baseUrl: process.env.WS1_BASE_URL,
|
|
tokenUrl: process.env.WS1_TOKEN_URL,
|
|
clientId: process.env.WS1_CLIENT_ID,
|
|
clientSecret: process.env.WS1_CLIENT_SECRET,
|
|
tenantCode: process.env.WS1_TENANT_CODE
|
|
}
|
|
}; |