-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (30 loc) · 1.3 KB
/
Copy path.env.example
File metadata and controls
33 lines (30 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Environment Variables for Modem Interface Project
# Copy this file to .env and fill in your actual values
# NEVER commit .env to git (it's in .gitignore)
# ============================================================================
# Artifact Server Access Token
# ============================================================================
# Used to download build artifacts from packages.ctrl-modem.com
# Get this from your password manager or infrastructure documentation
ARTIFACTS_TOKEN=your-secret-token-here
# ============================================================================
# Router Configuration
# ============================================================================
ROUTER_IP=192.168.1.1
# ============================================================================
# Usage Examples
# ============================================================================
#
# PowerShell:
# # Load variables from .env
# Get-Content .env | ForEach-Object {
# if ($_ -match '^([^#][^=]+)=(.*)$') {
# $env:($matches[1]) = $matches[2]
# }
# }
#
# # Download artifacts
# curl.exe "https://packages.ctrl-modem.com/$env:ARTIFACTS_TOKEN/AGCCC/modem-interface/latest.tar.gz" -o package.tar.gz
#
# # Deploy to router
# .\scripts\deploy-to-router.ps1 -RouterIP $env:ROUTER_IP