wanglian/workbase-server

View on GitHub
.snapcraft/snap/hooks/install

Summary

Maintainability
Test Coverage
#!/bin/bash

# Initialize the CADDY_URL to a default
snapctl set caddy=disable

# Initialize the PORT to a default
snapctl set port=3000

# Initialize the MONGO_URL to a default
snapctl set mongo-url=mongodb://localhost:27017/parties

# Initialize the MONGO_OPLOG_URL to a default
snapctl set mongo-oplog-url=mongodb://localhost:27017/local

# Initialize the protocol to a default
snapctl set https=disable