💰 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
app | ||
bin | ||
config | ||
db | ||
lib | ||
log | ||
public | ||
python_api_example | ||
spec | ||
vendor/assets | ||
.gitignore | ||
.rspec | ||
.ruby-version | ||
.travis.yml | ||
Capfile | ||
config.ru | ||
Gemfile | ||
Gemfile.lock | ||
Rakefile | ||
README.md | ||
README.rdoc |
Tab
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.