Make sure to npm install
in this folder. To update your whitelabel site, npm run export
. This will create site.zip
, which you can upload to dashboard.tensordock.com/organization/storefront/panel.
The web
folder is a single-page React application. See the inner README for more details.
Since emails can't fetch data dynamically, we instead use templating. All emails have the following base template variables, which you probably won't need but are here just in case:
app_base_url
: Base URL for whitelabel site, i.e.https://gpufleet.com
org_title
: Organization name
Templating uses {{ variablename }}
format.
This email is sent when a user signs up for a new account.
"{{ app_base_url }}/confirm/{{ token }}"
will be the account creation confirmation link.
This email is sent to confirm a deposit into an organization's balance.
${{ amount }}
is the deposit amount, i.e.$20.24
Sent to notify a user that their balance is below $3.
Sent to notify a user that their balance is below $10.
Sent when a user has set up a custom action to notify them of their balance being below a custom threshold.
${{ threshold }}
is the threshold they've set.
Sent when an automated charge is made based on low threshold (user-configured).
{{ card_last4 }}
: Last 4 digits of card used for auto payment.${{ charge }}
: Amount charged.${{ threshold }}
: Threshold for auto charge set by user.
Sent when an automated charge based on low threshold fails (user-configured).
${{ charge }}
: Amount that would have been charged.${{ threshold }}
: Threshold for auto charge set by user.
Sent when a deploy fails unexpectedly.
{{ deploy_resources }}
: requested VM deploy resources in the shape of theresources
field found here{{ vm_id }}
: Virtual machine ID
Sent when a deploy succeeds.
{{ deploy_resources }}
: requested VM deploy resources in the shape of theresources
field found here{{ vm_id }}
: Virtual machine ID
Sent when an org's balance hits $1, and their servers are stopped.
${{ balance }}
: Organization's current balance
Sent when an org's balance is negative, and their servers are deleted.
${{ balance }}
: Organization's current balance
Sent when a user requests to reset their password.
{{ link }}
: link to reset password
Sent when a user invites someone by email to their organization.
{{ inviter }}
: Email of user who sent the invite{{ organization }}
: Organization name{{ link }}
: Link for the user to join