💰 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
2018-08-07 19:04:44 +02:00
app Remove base url 2018-08-07 19:04:44 +02:00
bin Updated to Rails 5.2.0 2018-06-20 18:02:33 +02:00
config Merge branch 'herbert' 2018-08-06 20:18:42 +02:00
db Add user API token 2018-06-20 18:51:17 +02:00
lib improve seeds for the users and add clients 2015-09-14 16:50:47 +02: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
spec Fix tests 2017-01-23 17:22:29 +01: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 Downgrade back to rails 1.10.0 2018-08-07 19:03:42 +02:00
Gemfile.lock Downgrade back to rails 1.10.0 2018-08-07 19:03:42 +02: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.