Aptible's PaaS automates the work of provisioning, managing, and scaling infrastructure, so you can focus on what matters: your product.
1. Install Node and Yarn
Requirements:
- node
v18.15.x
- yarn
v3.6.3
2. Yarn setup
corepack enable
yarn set version 3.6.3
3. Create .env
file with environment variables
Add file to the root of app-ui
with these variables:
Production APIs:
VITE_APP_URL="http://localhost:4200"
VITE_AUTH_URL="https://auth.aptible.com"
VITE_API_URL="https://api.aptible.com"
VITE_BILLING_URL="https://goldenboy.aptible.com"
VITE_LEGACY_DASHBOARD_URL="https://dashboard.aptible.com"
VITE_METRIC_TUNNEL_URL="https://metrictunnel-nextgen.aptible.com"
VITE_PORTAL_URL="https://portal.aptible.com"
VITE_APTIBLE_AI_URL="https://app.aptible.ai"
Staging APIs:
VITE_APP_URL="http://localhost:4200"
VITE_AUTH_URL="https://auth-sbx-main.aptible-sandbox.com"
VITE_API_URL="https://api-sbx-main.aptible-sandbox.com"
VITE_BILLING_URL="https://goldenboy-sbx-main.aptible-sandbox.com"
VITE_LEGACY_DASHBOARD_URL="https://dashboard-sbx-main.aptible-sandbox.com"
VITE_METRIC_TUNNEL_URL="https://metrictunnel-sbx-main.aptible-sandbox.com"
VITE_PORTAL_URL="https://portal-sbx-main.aptible-sandbox.com"
VITE_APTIBLE_AI_URL="https://aptiblebot.aptible-staging.com"
4. Run Start Commands
yarn
yarn start
5. All done! Go to http://localhost:4200 The web app will live update after committing changes.
Why does my pull request keep failing tests?
Lint codebase
yarn lint
Automatically fix issues
yarn fmt
Once merged to main
we deploy to staging
This will deploy two apps:
app-sbx-main.aptible-sandbox.com
- our critical path for what is currently active on Aptible
- Create a github release
- Deployment paths for above apps:
- Deployments to
app.aptible.com
will only fire with av
semver prefix.
- Deployments to