💰 Yes. We have to drink. But we also have to pay. This does the paying part. https://tab.zeus.gent/ Non-synchronised mirror of https://github.com/ZeusWPI/Tab
Find a file
redfast00 dba60e9a18
Merge pull request #56 from ZeusWPI/better-rounding
Improve rounding of debtchart
2019-06-19 15:54:59 +02:00
app Improve rounding of debtchart 2019-06-19 15:45:07 +02:00
bin Updated to Rails 5.2.0 2018-06-20 18:02:33 +02:00
config Add test for too much money 2019-06-17 15:11:26 +02:00
db Workaround 2019-05-11 15:20:06 +02:00
lib Fix FactoryGirl deprecation warning by upgrading to FactoryBot 5 2019-05-30 21:08:46 +12:00
log Initial rails project 2015-09-07 11:44:48 +02:00
public Initial rails project 2015-09-07 11:44:48 +02:00
python_api_example API create transaction 2019-04-12 11:33:13 +02:00
spec Add test for too much money 2019-06-17 15:11:26 +02:00
vendor/assets Add bootstrap 2015-09-11 14:52:26 +02:00
.gitignore Revert "Fix for WiNA" 2018-03-21 19:40:03 +01:00
.rspec Add tests for api 2015-09-12 13:03:04 +02:00
.ruby-version Updated to Rails 5.2.0 2018-06-20 18:02:33 +02:00
.travis.yml fix travis 2016-02-01 19:31:06 +01:00
Capfile Update high_voltage version and stop capistrano from complaining 2018-07-25 20:37:49 +02:00
config.ru Initial rails project 2015-09-07 11:44:48 +02:00
Gemfile Fix FactoryGirl deprecation warning by upgrading to FactoryBot 5 2019-05-30 21:08:46 +12:00
Gemfile.lock Fix FactoryGirl deprecation warning by upgrading to FactoryBot 5 2019-05-30 21:08:46 +12:00
Rakefile Initial rails project 2015-09-07 11:44:48 +02:00
README.md More detailed README 2018-07-26 21:01:48 +02:00
README.rdoc Initial rails project 2015-09-07 11:44:48 +02:00

Tab Analytics Code Climate Coverage Status Build Status

Deploy

Just run cap production deploy. You might need to edit some config files on the server.

Adding clients

A client can see and modify balances of other users.

To add a client, connect to the server, cd production/current, then run RAILS_ENV=production bundle exec rails console. Then you can add clients with client = Client.create name: "Tap".

If you want the client to be able to make transactions, run: client.add_role :create_transactions in the console.