Happy Melly Teller system
Scala JavaScript HTML CSS Other
Permalink
Failed to load latest commit information.
app Fixes funders' prolongation and updates a payment reminder Nov 16, 2016
conf Removes old event-related code && adds Slack invitations Aug 28, 2016
frontend Adds Slack integration for facilitators May 10, 2016
gulp update errors helper Apr 28, 2016
lib Adds Slack integration for facilitators May 10, 2016
project Removes LESS compilation plugin which is not needed anymore Mar 7, 2016
public Adds Slack integration for facilitators May 10, 2016
test Adds discount coupons management Apr 28, 2016
vagrant fix Nov 11, 2015
.eslintrc.json 379 update styles for credit page and move js to the es6 Mar 16, 2016
.gitignore Adds credit card info update Mar 9, 2016
.jscsrc add jscs and jshint Jan 6, 2016
.travis.yml Coveralls integration Mar 12, 2015
CONTRIBUTING.md 1. CONTRIBUTING and README files updated Sep 27, 2013
LICENSE 1. CONTRIBUTING and README files updated Sep 27, 2013
Procfile Slack notifications for membership changes Mar 4, 2015
README.md Improves a project's documentation Nov 18, 2015
Vagrantfile vagrant-ish update Nov 10, 2015
build.sbt Adds Slack integration for facilitators May 10, 2016
gulpfile.js move all styles to the stylesheets folder Apr 29, 2016
package.json update configuration for webpack and separate css for plugins Mar 17, 2016
shippable.yml Updates JDK version for Shippable Feb 10, 2016
system.properties Updates JDK version Feb 10, 2016
tweaked.sql Fixes table name case for Unix systems Nov 11, 2015
webpack.config.js update errors helper Apr 28, 2016

README.md

Coverage Status

Happy Melly Teller

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.

How to install and run

Pre-requisites

  1. Install Vagrant. Follow this guide from their official site: https://docs.vagrantup.com/v2/installation/index.html

  2. 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

Application

  1. Clone the repo, (for the meantime pull the branch that works with vagrant) ..

  2. 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
    
  3. 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
    
  4. 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!
  5. 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";
    
  6. Time to log in, pal!

I have an idea/I want report a bug

Please, open an issue, provide as much related information as possible and stay tuned :).

I want to help

Check notes for contributors

License

Happy Melly Teller is licensed under GNU General Public License v.3. It includes iText library which is licensed under AGPL.