Giter Site home page Giter Site logo

hadryan / psms-example-bad-news Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denyago/psms-example-bad-news

0.0 1.0 0.0 232 KB

Example of Premium SMS service. It has only bad news.

License: MIT License

Ruby 91.97% JavaScript 1.64% CoffeeScript 0.98% CSS 5.42%

psms-example-bad-news's Introduction

Build Status Code Climate

Fortumo Mobile Payments API Example

The SMS service 'Bad News' will deliver you worst news if you want to feel sad. Not for free.

Uses Mobile Payments API of Fortumo

Deploy

Using Heroku

Set PSMS_INFO_URL to URL 'where you can download your service information and promotional texts' from Fortumo Dashboard (My Services > Your Service > Setup)

heroku config:set SECRET_KEY_BASE=`ruby -e 'require "securerandom"; print SecureRandom.hex(128)'`
heroku config:set MOBILE_API_PSMS_INFO_URL=https://api.fortumo.com/api/services/2/service.information.xml
heroku config:set MOBILE_API_SECRET=XXX
heroku config:set CROSS_PLATFORM_API_SERVICE_ID=some-kind-of-uuid
heroku config:set CROSS_PLATFORM_API_SECRET=YYY

ssh remote add heroku [your application repository]
git push origin heroku
heroku run rake db:create
heroku run rake db:migrate
heroku run rake db:seed
heroku restart

psms-example-bad-news's People

Contributors

denyago avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.