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 Vagrant. Follow this guide from their official site: [https://docs.vagrantup.com/v2/installation/index.html](Installing Vagrant)
-
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, (for the meantime pull the branch that works with vagrant) ..
-
Supply the needed values for the following:
> cd teller/vagrant > vim up.bash ... # hm-teller specific variables aws_key= aws_secret= fb_app_id= fb_secret= google_app_id= google_secret= linkedin_key= linkedin_secret= twitter_key= twitter_secret= memcached_url=127.0.0.1:112111 memcached_username=happymelly memcached_password= ...
Save your changes then go back to the root directory (ie teller)
> cd teller
-
Run the application. Start vagrant (vagrant up) then tunnel your way with ssh(vagrant ssh). From inside vagrant, you can run
sbt run
.> vagrant up > vagrant ssh #.. inside vagrant vagrant@hm-teller:/ > cd /vagrant vagrant@hm-teller:/ > sbt 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).
> vagrant ssh
vagrant@hm-teller > mysql -u melly -pshum
mysql > update user_account set TWITTER_HANDLE="[your twitter id]" where TWITTER_HANDLE="skotlov";
- 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. It includes iText library which is licensed under AGPL.