Kasse
This is an Implementation of a payment system for the
Heidelberg Chaostreff. It is currently in a basic
stage of development, so this README.md should only give you enough information to
install it and start testing.
Installing
Currently you need to install libnfc to build kasse. This will not be needed in
the future. In Debian you need to install the following packages:
- libnfc-dev (not required for testing)
- sqlite3
- golang
The following will build the code and give you a basic environment to run kasse:
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
# If you don't want/need support for the NFC Reader (e.g. for testing), run
go get -u github.com/nnev/kasse
# otherwise run instead:
go get -tags nonfc -u github.com/nnev/kasse
cd ~/go/src/github.com/nnev/kasse && sqlite3 kasse.sqlite < schema.sql
Testing
It is important, that the binary runs in the path containing kasse.sqlite from
above or gives the full path to it with -connect
kasse -hardware=false
Contributing
Thank you for considering contributing to this repository. Please see our
contribution guidelines for some advice on how to make your
contribution as useful as possible.
License
Apache 2.0
Copyright 2015 NoName e.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.