{"repo":"ruuda/hanson","free":true,"listed":false,"github":"https://github.com/ruuda/hanson","clone":"git clone https://github.com/ruuda/hanson.git","description":"Self-hosted prediction market app","language":"Python","stars":11,"topics":["forecasting","prediction-market","prediction-markets"],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"Hanson Hanson is a [prediction market][prediction-market] app. Self-hosted, free and open-source software. No real money, users trade virtual internet points. Designed for running internal prediction markets in organizations. [!TIP] While Hanson development stalled, [Predict-o-matic][predictomatic] by the same author did reach the MVP stage, and is usable for internal prediction markets! [predictomatic]: https://github.com/chorusone/predictomatic Vaporware warning : Hanson is under development and not yet in a state where it is useful. I will likely lose interest in it before it reaches that stage. Getting started See [the development guide][docs-dev] for a detailed guide for how to run and develop Hanson locally. The gist of it is: Enter a development environment with [Nix][nix] [≥2.11][nix-2.11]: nix develop --command $SHELL Run the initial database setup: tools/run postgres.py --force-init run/db dev # In a different terminal: export PGHOST=\"$PWD/run/db dev\" tools/migrate.py setup tools/migrate.py migrate latest # Now you can Ctrl+C the postgres instance in the other terminal. Run the app in development mode: overmind start By default, Flask will listen on http://localhost:5000 . Then create yourself a few users, and give them some points to spend: ./cli.py add-user etyrell \"Eldon Tyrell\" ./cli.py add-user lkowalski \"Leon Kowalski\" ./cli.py add-user rbatty \"Roy Batty\" ./cli.py add-user rdeckard \"Rick Deckard\" ./cli.py airdrop 25.0 Hanson intends to outsource authentication","default_branch":null,"files":null,"tree":[],"storefront":"/r/ruuda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ruuda/hanson/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}