GithubHelp home page GithubHelp logo

cibus-budget-utilizer's Introduction

cibus-budget-utilizer

Prerequisites

  1. azd CLI - install
  2. az CLI - install
  3. func - azure functions core utils - install

Setup

git clone https://github.com/AdamEr8/cibus-budget-utilizer.git
cd cibus-budget-utilizer
az login
az account set --subscription < YOUR_SUBSCRIPTION_HERE >
azd init  # It will ask for environment name, write whatever you wish
azd up  # Here it will ask you for the subscription and RG where you want to create the azure function, the name of the function and your credentials
func azure functionapp publish < YOUR_FUNCION_APP_NAME_HERE >

Configurations

  1. main.bicep file holds several configs. If you change any, re-run setup from the top. You can configure the following values:
    1. "voucherGeneratorAlgo": 'Optimized' value will use one algo and 'Greedy' will use another voucher prices algo (Greedy if none provided).
    2. "allowOverdraft": If true, the minimum amount of out-of-pocket pay will be allowed when pruchasing coupons. If false, some cibus credit will remain and not be utilized.
    3. "maxVoucher": the maximum value of the vouchers you would like to have (shufersal doesn't respect partial vouchers so 200 shekels voucher might be inconvenient) the default is 100.
  2. In the function.json file, you can configure the timing of function trigger. For further info, see the official docs. If you make any changes, rerun func azure functionapp publish command as seen in setup mode.

cibus-budget-utilizer's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

cibus-budget-utilizer's Issues

[Orders]: Add Victory (7 Stars)

It only differs from Shufersal in the item ids,
So gotta also refactor the OrderController a little to be some general Cibus ordering mechanism

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.