- azurite --silent --location .cache/azurite --debug .cache/azurite/debug.log
- func start --verbose
vim secrets/create-remote.rc.bash
eg.
resource_group="${resource_group-AzFunBot-rg}"
location="${location-japanwest}"
storage_name="${storage_name-azfunbotstorage}"
sku="${sku-Standard_LRS}"
@see create-remote.bash
az login
./create-remote.bash
- Azure Portal
- ->"Function App"
- ->"DiffRss"
- ->"Configuration"
- ->"New Application Setting"
LINE_ID={Your LINE ID}
LINE_ACCESS_TOKEN={Your Access Token}
DIFFRSS_SCHEDULE={Schedule to Watch RSS (e.g. 1 1 9 * * *)}
TELL_SCHEDULE={Schedule to tell to Users (e.g. 1 2 9 * * *)}
DIFFRSS_MAX_CHAR_LIMIT={Max Limit for LINE Text}
e.g.
func azure functionapp publish AzFunBot