updated deployer code
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# SonarDesk environments
|
||||
|
||||
| Environment | Branch | Licensing/website URL | Paddle | Purpose |
|
||||
|---|---|---|---|---|
|
||||
| Develop | develop | https://sonardesk.vm | Sandbox | Local development + Mailpit |
|
||||
| Stage | stage | https://sonardesk.stage.absdev.net | Sandbox | Release-candidate testing |
|
||||
| Production | main | https://sonardsk.absdev.net | Live | Paying customers |
|
||||
|
||||
## macOS build configurations
|
||||
|
||||
The Xcode project contains `Develop`, `Stage`, and `Release`. `Release` is production. The licensing URL is injected into Info.plist at build time; there is no Debug/Release URL heuristic.
|
||||
|
||||
## Laravel
|
||||
|
||||
Start each environment from the matching template: `.env.develop.example`, `.env.stage.example`, or `.env.production.example`. Never copy Paddle secrets between environments. Develop and Stage use Paddle Sandbox but should use different webhook destinations/secrets. Production uses Paddle Live credentials and its own webhook secret.
|
||||
|
||||
## Deployment
|
||||
|
||||
Develop runs locally and is not a Deployer target. Deploy Stage with `dep deploy stage`; deploy Production with `dep deploy production`.
|
||||
Reference in New Issue
Block a user