Fork of https://github.com/revspace/revbank with Bitlair patches
https://revspace.nl/RevBank
![]() This should have been done much earlier, but wasn't done for nostalgic reasons. To new users, it didn't make sense that you could just enter an amount, and revbank would just accept that as "withdrawal or unlisted product". It existed for backwards compatibility with the very first revbank version, which didn't have a product list, and which was not yet used with a barcode scanner. You would simply enter the amount and your name, and there were no further statistics. Nowadays, there are statistics that are messed up if you don't use the product codes. And some people were looking for a withdrawal command, and try 'take' as that seems closest to it, but which instead transfers money to another account. Additionally, some texts were changed for improved clarity. ("Enter username to pay", when withdrawing, was confusing: one expects money back, not to pay more.) |
||
---|---|---|
lib/RevBank | ||
plugins | ||
t | ||
.gitignore | ||
README.md | ||
revbank | ||
revbank.accounts | ||
revbank.market | ||
revbank.plugins | ||
revbank.products | ||
UPGRADING.md |
revbank - Banking for hackerspace visitors
Upgrading
When upgrading from a previous version, please refer to the file UPGRADING.md because there might be incompatible changes that require your attention.
Installing
- Install the Perl module Term::ReadLine::Gnu
Debian: apt install libterm-readline-gnu-perl
Generic: cpan Term::ReadLine::Gnu
- Clone the repository, run revbank :)
Using revbank
Type help
.
Even more helpful text is available on the the RevBank page on the RevSpace wiki.
Writing plugins
Read RevBank::Plugins and RevBank::Amount.
Exiting revbank
Exiting is not supported because it's desigend to run continuously. But if you
run it from a shell, you can probably stop it using ctrl+Z and then kill the
process (e.g. kill %1
). RevBank does not keep any files open, so it's safe
to kill when idle.