1 An unofficial app and mailing list to keep faithful bargoers informed of the beers available at the excellent Brasserie Bénélux.
3 This project is composed of three softwares:
5 * A mobile app and social network,
6 * a server with a RESTful API for the mobile app and a web interface to subscribe to the mailing list
7 * and a daily background program which updates the DB and send emails.
9 The mobile app is available on the Nit F-Droid repository, see http://nitlanguage.org/fdroid.
10 The web interface is currently published at http://benitlux.xymus.net.
14 First, choose a server and set the `SERVER` environment variable accordingly.
15 It can be localhost, a local development server or the official server.
17 * `SERVER` defaults to `localhost:8080`.
18 This is enough to test running the server and the GNU/Linux client on the same machine.
20 * Set `SERVER=192.168.0.1` or to your IP to quickly setup a development server.
21 This allows you to work and test both the clients and the server.
23 * Set `SERVER=benitlux.xymus.net` to use the official server, it should work with all clients.
24 It is not advised to use the official server with unstable clients.
28 Build and run on GNU/Linux with `make bin/benitlux && bin/benitlux`
30 Build and install for Android with: `make bin/benitlux.apk && adb install -rd bin/benitlux.apk`
32 Build and simulate for iOS with: `make bin/benitlux.app && ios-sim launch bin/benitlux.app`
36 Install all required development packages. Under Debian or Ubuntu, you can use: `apt-get install libevent-dev libsqlite3-dev libcurl4-gnutls-dev sendmail`
40 Launch the daily background program with: `bin/benitlux_daily` (the argument `-e` sends the emails)
42 Launch the server with: `bin/benitlux_web`
44 The Web interface will be accessible at <http://localhost:8080/>
51 - [x] Serialization and deserialization of data classes
54 - [ ] Charlevoix location support
55 - [ ] Authenticate unsubscribe actions over GET
56 - [x] Social network and location updates