@@ -64,7 +64,27 @@ A modern web-based SNMP toolkit for network engineers and administrators. Manage
6464
6565### Installation
6666
67- #### Option 1: Docker Compose
67+ #### Option 1: One shot installation and management
68+ ```
69+ # Direct installation
70+ curl -s https://raw.githubusercontent.com/tosumitdhaka/trishul-snmp-studio/refs/heads/main/install-trishul-snmp-docker.sh | bash
71+
72+ # Managing app
73+ # Download it first
74+ curl -fsSL https://raw.githubusercontent.com/tosumitdhaka/snmp-studio/main/install-trishul-snmp-docker.sh -o install-trishul.sh
75+ chmod +x install-trishul.sh
76+
77+ # Management commands:
78+ ./install-trishul-snmp-docker.sh up
79+ ./install-trishul-snmp-docker.sh status
80+ ./install-trishul-snmp-docker.sh logs
81+ ./install-trishul-snmp-docker.sh restart
82+ ./install-trishul-snmp-docker.sh down
83+ ./install-trishul-snmp-docker.sh backup
84+ ./install-trishul-snmp-docker.sh restore <backup file path>
85+ ```
86+
87+ #### Option 2: Docker Compose
6888``` bash
6989# Clone repository
7090git clone < repository-url>
@@ -77,27 +97,6 @@ docker-compose up -d
7797open http://localhost:8080
7898```
7999
80- #### Option 2: Single shot script to run docker containers
81- ```
82- # Set GitHub token (one-time)
83- export GHCR_TOKEN="ghp_xxxxxxxxxxxx"
84-
85- # Deploy
86- ./install-trishul-snmp-docker.sh up
87-
88- # Check status
89- ./install-trishul-snmp-docker.sh status
90-
91- # View logs
92- ./install-trishul-snmp-docker.sh logs
93-
94- # Restart
95- ./install-trishul-snmp-docker.sh restart
96-
97- # Stop
98- ./install-trishul-snmp-docker.sh down
99- ```
100-
101100### Default Credentials
102101- ** Username:** ` admin `
103102- ** Password:** ` admin123 `
0 commit comments