💰 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
Go to file
redfast00 b54433f3d5
Merge pull request #59 from ZeusWPI/update-rails
Update rails to latest 5
2019-08-24 21:25:24 +02:00
app Fix #39 2019-08-24 21:08:11 +02:00
bin Updated to Rails 5.2.0 2018-06-20 18:02:33 +02:00
config Use native int as boolean for SQLite 2019-08-24 18:36:06 +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 Add favicon 2019-06-28 16:16:12 +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
Gemfile Update rails to latest 5 2019-08-24 21:20:49 +02:00
Gemfile.lock Update rails to latest 5 2019-08-24 21:20:49 +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
Rakefile Initial rails project 2015-09-07 11:44:48 +02:00
config.ru Initial rails project 2015-09-07 11:44:48 +02:00

README.md

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.