This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| API_DB_URI=postgres://<user>:<password>@localhost/ilpkit | |
| API_GITHUB_CLIENT_ID=<github client id> | |
| API_GITHUB_CLIENT_SECRET=<github client secret> | |
| API_HOSTNAME=<domain name of ilp-kit instance> | |
| API_MAILGUN_API_KEY=<mailgun api key> | |
| API_MAILGUN_DOMAIN=<mailgun domain> | |
| API_PORT=3100 | |
| API_PRIVATE_HOSTNAME=localhost | |
| API_PUBLIC_HTTPS=1 | |
| API_PUBLIC_PATH=/api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| self.addEventListener('install', function(event) { | |
| // We pass a promise to event.waitUntil to signal how | |
| // long install takes, and if it failed | |
| event.waitUntil( | |
| PaymentApp.register({ | |
| name: "AdrianPay", | |
| start_url: "http://adrianpay.com/paymentapps", | |
| enabled_methods: ["http://webpayments.org/payment-methods/card"] | |
| })); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CmdUtils.CreateCommand({ | |
| name: "ready", | |
| icon: "http://ready.mobi/images/favicon.ico", | |
| homepage: "http://ready.mobi/", | |
| author: { name: "Adrian Hope-Bailie", email: "ahopebailie@mtld.mobi"}, | |
| license: "GPL", | |
| description: "Checks the current page for mobile readiness", | |
| help: "Simply run ready from any page and the current page will be checked for mobile readiness.", | |
| takes: {"url": noun_type_url}, | |
| _readyURL: function(url){ |
NewerOlder