cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

README (709B)


      1 # C2EC Management CLI
      2 
      3 This cli allows adding Providers and Terminals to the database and deactivating terminals, using the command line.
      4 
      5 Before using the commands which connect to the database, you first need to connect to the database (can either be done using `-c [PATH-TO-INI-CONFIG]` or within the CLI using the `db` command).
      6 
      7 The CLI will take care of generating the access tokens for the newly registered terminal and hashing the authorization key of the provider backend.
      8 
      9 ## Build
     10 
     11 IMPORTANT: You need at least Go v1.22! 
     12 
     13 `go build .`
     14 
     15 ## Run 
     16 
     17 `./c2ec-cli`
     18 
     19 ## Environment
     20 
     21 You can set `PGHOST` to connect automatically to the database.
     22 
     23 ## Actions
     24 
     25 type `./c2ec -h` to get all available actions