Files
Order-Manager/.env.old
T

49 lines
2.1 KiB
Bash

# Copy this file to .env and fill in your values.
# You can also edit these from within the app: Settings menu -> Edit Settings.
# --- Database ---
# Local (default): sqlite:///orders.db
# Later, point at your MariaDB LXC, e.g.:
# DB_URL=mysql+pymysql://user:[email protected]:3306/order_manager
DB_URL='sqlite:///orders.db'
# --- JIRA ---
# Your Atlassian site, e.g. https://yourcompany.atlassian.net
JIRA_URL='https://cvs-hcd.atlassian.net/rest/api/3/search/jql?'
# The email address tied to your JIRA API token
JIRA_EMAIL='[email protected]'
# Create one at https://id.atlassian.com/manage-profile/security/api-tokens
JIRA_API_TOKEN='ATATT3xFfGF0baKZJ4Zxj9BTPKzRSwn8HLnxSlpi9JPSPPL-dnDQOvCX_mMn23LtQJE4NCUAGG2IpOYQXdCgApHIFjc0m0lIzfSXgOzkY9NIy6v9OdxazihZXy1EKf9elSSmR52_YWIdGzsaZMoRf36zsXTDUb5GtWnZGVGxmx1mpx5UsK_wIyc=FE2DA56D'
# JQL used to pull "today's orders". Adjust to match how your team tags order tickets.
JIRA_JQL='project = AR AND created >= startOfDay() ORDER BY created ASC'
# Deliverable/SKU-bearing custom fields, per company (comma-separated field IDs)
JIRA_SIGNIFY_SKU_FIELDS='customfield_10573,customfield_10570'
JIRA_OAKSTREET_SKU_FIELDS='customfield_12790,customfield_13021'
# --- ShipStation (API V2) ---
SHIPSTATION_API_KEY='xxuRcKlQi+BFla5fHbW0jDc6yqkFiZp/s1n2RKSRvVU'
# Map each store to the company it belongs to (each has its own UPS account)
SHIPSTATION_STORE_MAP='se-221889:Signify Health,se-367672:Oak Street Health'
# --- Companies ---
# SKU prefix -> company. Add more "PREFIX:Company" pairs as you add companies.
COMPANY_SKU_MAP='SH:Signify Health,OK:Oak Street Health'
# Pattern used to recognize the AR-###### ticket number inside ShipStation payloads
TICKET_NUMBER_REGEX='\\b[A-Z]{2,6}-\\d{3,}\\b'
JIRA_TERMINAL_STATUSES=''
CANCELLED_STATUSES=''
FULFILLED_STATUS_WITH_RETURN=''
FULFILLED_STATUS_WITHOUT_RETURN=''
JIRA_FIELD_NAME=''
JIRA_FIELD_PHONE=''
JIRA_FIELD_EMAIL=''
JIRA_FIELD_ADDRESS1=''
JIRA_FIELD_ADDRESS2=''
JIRA_FIELD_CITY=''
JIRA_FIELD_STATE=''
JIRA_FIELD_ZIP=''
JIRA_FIELD_NPI=''
SHIPSTATION_SIGNIFY_STORE_ID='se-221889'
SHIPSTATION_OAKSTREET_STORE_ID='se-367672'
INTAKE_CUTOFF_TIME=''