💰 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
2019-04-13 21:11:53 +02:00
app API create transaction 2019-04-12 11:33:13 +02:00
bin Updated to Rails 5.2.0 2018-06-20 18:02:33 +02:00
config Add transactions API 2019-04-10 14:15:20 +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
python_api_example API create transaction 2019-04-12 11:33:13 +02:00
spec Fix tests 2019-04-10 16:14:02 +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 tests 2019-04-10 16:14:02 +02:00
Gemfile.lock Fix tests 2019-04-10 16:14:02 +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.