refactor: rename SolaceScanScout to Solace and update related configurations
- Updated branding from "SolaceScanScout" to "Solace" across various files including deployment scripts, API responses, and documentation. - Changed default base URL for Playwright tests and updated security headers to reflect the new branding. - Enhanced README and API documentation to include new authentication endpoints and product access details. This refactor aligns the project branding and improves clarity in the API documentation.
This commit is contained in:
@@ -477,24 +477,26 @@ EOF
|
||||
#### Frontend Service
|
||||
|
||||
```bash
|
||||
cat > /etc/systemd/system/explorer-frontend.service << 'EOF'
|
||||
cat > /etc/systemd/system/solacescanscout-frontend.service << 'EOF'
|
||||
[Unit]
|
||||
Description=Explorer Frontend Service
|
||||
Description=SolaceScan Next Frontend Service
|
||||
After=network.target explorer-api.service
|
||||
Requires=explorer-api.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=explorer
|
||||
Group=explorer
|
||||
WorkingDirectory=/home/explorer/explorer-monorepo/frontend
|
||||
EnvironmentFile=/home/explorer/explorer-monorepo/.env
|
||||
ExecStart=/usr/bin/npm start
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/opt/solacescanscout/frontend/current
|
||||
Environment=NODE_ENV=production
|
||||
Environment=HOSTNAME=127.0.0.1
|
||||
Environment=PORT=3000
|
||||
ExecStart=/usr/bin/node /opt/solacescanscout/frontend/current/server.js
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=explorer-frontend
|
||||
SyslogIdentifier=solacescanscout-frontend
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -510,17 +512,17 @@ systemctl daemon-reload
|
||||
# Enable services
|
||||
systemctl enable explorer-indexer
|
||||
systemctl enable explorer-api
|
||||
systemctl enable explorer-frontend
|
||||
systemctl enable solacescanscout-frontend
|
||||
|
||||
# Start services
|
||||
systemctl start explorer-indexer
|
||||
systemctl start explorer-api
|
||||
systemctl start explorer-frontend
|
||||
systemctl start solacescanscout-frontend
|
||||
|
||||
# Check status
|
||||
systemctl status explorer-indexer
|
||||
systemctl status explorer-api
|
||||
systemctl status explorer-frontend
|
||||
systemctl status solacescanscout-frontend
|
||||
```
|
||||
|
||||
---
|
||||
@@ -892,7 +894,7 @@ cat > /etc/logrotate.d/explorer << 'EOF'
|
||||
create 0640 explorer explorer
|
||||
sharedscripts
|
||||
postrotate
|
||||
systemctl reload explorer-indexer explorer-api explorer-frontend > /dev/null 2>&1 || true
|
||||
systemctl reload explorer-indexer explorer-api solacescanscout-frontend > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
EOF
|
||||
@@ -1079,4 +1081,3 @@ journalctl -u cloudflared -f
|
||||
|
||||
**Last Updated**: 2024-12-23
|
||||
**Version**: 1.0.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user