This repository has been archived by the owner on May 6, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from Tolfix/dev
0.5
- Loading branch information
Showing
4 changed files
with
162 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Secret JWT token for authentication, don't share this with anyone. | ||
JWT_ACCESS_TOKEN= | ||
|
||
# If in debug mode or note | ||
# (optional) | ||
DEBUG= | ||
|
||
# The mongo database uri to use, if not set it will use the default: mongodb://localhost/cpg | ||
MONGO_URI= | ||
|
||
# The domain to use for the api, if not set it will use the default: localhost | ||
# Needs to look like: https://domain.com | ||
# (optional) | ||
DOMAIN= | ||
|
||
# http or https, default: http | ||
# (optional) | ||
HTTP_SCHEMA= | ||
|
||
# Session secret key for cookies | ||
SESSION_SECRET= | ||
|
||
# Which port to run on, default 8080 | ||
# (optional) | ||
PORT= | ||
|
||
# If you use OsTicket you can configure it here | ||
# (optional) | ||
OSTICKET_URL= | ||
OSTICKET_API_KEY= | ||
|
||
# If you have "swish" (Swedish company), you can use your number here for CPG | ||
# (optional) | ||
SWISH_PAYEE_NUMBER= | ||
|
||
# Paypal credentials | ||
# (optional) | ||
PAYPAL_CLIENT_ID= | ||
PAYPAL_CLIENT_SECRET= | ||
|
||
# Stripe credentials | ||
# (optional) | ||
STRIPE_SK_LIVE= | ||
STRIPE_SK_PUBLIC= | ||
STRIPE_WEBHOOK_SECRET= | ||
|
||
# This is a solution that will be probably removed in the near future | ||
# but for the invoices adding these would be recommended. | ||
COMPANY_NAME= | ||
COMPANY_ADDRESS= | ||
COMPANY_ZIP= | ||
COMPANY_CITY= | ||
COMPANY_COUNTRY= | ||
COMPANY_PHONE= | ||
COMPANY_EMAIL= | ||
COMPANY_VAT= | ||
COMPANY_CURRENCY= | ||
COMPANY_LOGO_URL= | ||
COMPANY_TAX_REGISTERED= | ||
COMPANY_WEBSITE= | ||
|
||
# For invoice you can add a template | ||
# (optional) | ||
PDF_TEMPLATE_URL= | ||
|
||
# Plugins for CPG | ||
# NOTE: Plugins can require different env variables to be set. | ||
# (optional) | ||
PLUGINS="[]" | ||
|
||
# For the webhook, you add a secret to know the webhook is from CPG | ||
# (optional) | ||
WEBHOOK_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters