- 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.
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
# =============================================================================
|
|
# NetAnalyzer Environment Configuration
|
|
# Copy this file to .env and fill in your actual values.
|
|
# NEVER commit .env — it is gitignored.
|
|
# =============================================================================
|
|
|
|
# --- Webex Bot (required for bot functionality) ---
|
|
WEBEX_ACCESS_TOKEN=your_webex_bot_access_token_here
|
|
BOT_NAME=NetAnalyzer
|
|
|
|
# --- Meraki (required for network device discovery and client status) ---
|
|
MERAKI_API_KEY=your_meraki_api_key_here
|
|
MERAKI_ORG_ID=your_meraki_organization_id_here
|
|
|
|
# --- WebSocket Remote Agent ---
|
|
WS_PORT=8080
|
|
# Token used to authenticate the remoteAgent.js when connecting to this server
|
|
WS_TOKEN=generate_a_strong_random_token_here
|
|
|
|
# For the remote agent process (remoteAgent.js), point to the main server
|
|
WS_URL=ws://localhost:8080?token=generate_a_strong_random_token_here
|
|
|
|
# --- SIW / Store Information Warehouse (proxied via remote agent) ---
|
|
SIW_BASE_URL=https://your-siw-api.example.com/api
|
|
SIW_USERNAME=your_siw_username
|
|
SIW_PASSWORD=your_siw_password
|
|
|
|
# --- Workspace ONE (MDM / AirWatch) ---
|
|
WS1_BASE_URL=https://your-tenant.awmdm.com
|
|
WS1_TOKEN_URL=https://your-tenant.awmdm.com/api/mdm/token
|
|
WS1_CLIENT_ID=your_ws1_client_id
|
|
WS1_CLIENT_SECRET=your_ws1_client_secret
|
|
WS1_TENANT_CODE=your_ws1_tenant_code
|