Source code of the http://beansight.com website, a prediction exchange platform.
The website features a social infrastructure: user profiles, following/followed, custom timeline, social login and sharing. User generated content are predictions (called "insights"), they have categories, tags, comments. The website has administration tools.
Built using version 1 of the Play! Framework with a MySQL database.
Visual design by Colorz http://www.colorz.fr/
(c) All right reserved.
How to run
For your first run, you will need to create a new database structure or import an existing one. To create it, set
We have issues running with the
db databases. Prefer using a MySQL database running on your machine: Create a MySQL database named
beansight with a user named
At first startup, the database tables need to be created. To do this, edit
application.conf and replace
jpa.ddl=create, then launch the Play! app by typing
If for testing purposes, you need to emulate an Heroku config options, use env viriables, i.e. something like
$ export CLEARDB_DATABASE_URL=mysql://******.
Running on Heroku with the ClearDB add-on
Make sure the following Heroku options are set in your app config (
CLEARDB_DATABASE_URL: mysql://****** PLAY_OPTS: --%prod -Dprecompiled=true