Happy Melly Teller is a web system which supports Happy Melly's ecosystem and perfectly suits for any business or non-profit organization with similar network structure.
The platform allows to manage information about people, organizations, brands, licensees and so on. It also provides REST API for retrieving these objects from third-party apps and websites.
- Install Java JDK 1.7
- Download and install Play framework 2.1.3
- Download/install and start MySQL 5.6
- Create the database and user:
create database happymelly;
grant all on happymelly.* TO 'melly'@'localhost' identified by 'shum' with grant option;
use happymelly;
- Create and setup Twitter application
- Create a new application on https://dev.twitter.com
- Add callback URL
http://127.0.0.1:9000/authenticate/twitter
- Set checkbox Allow this application to be used to Sign in with Twitter
- Clone the repo
- Run the application
cd teller
TWITTER_KEY=[your app consumer key] TWITTER_SECRET=[your app consumer secret] play run
- Open the application in a web browser and run Evolutions to populate the database
- open http://localhost:9000
- on the Database 'default' needs evolution! page, click Apply this script now!
- Update database (required to give you access by your Twitter account)
update PERSON set TWITTER_HANDLE="[your twitter id]" where TWITTER_HANDLE="happy_melly";
insert into USER_ACCOUNT (PERSON_ID, TWITTER_HANDLE, ROLE) select ID, TWITTER_HANDLE, 'admin' from PERSON where lower(TWITTER_HANDLE) = '[your twitter id]';
- Time to log in, pal!
Please, open an issue, provide as much related information as possible and stay tuned :).
Check notes for contributors
Happy Melly Teller is licensed under GNU General Public License v.3