您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
dependabot[bot] 68550b4859
Bump phpunit/phpunit from 5.3.2 to 5.6.3
2 年前
controllers use the user's own authz endpoint if one is defined 3 年前
data remove w3.org 4 年前
lib move unsupported domains to a file, add a bunch from bridgy 4 年前
migrations move init.sql to schema.sql 6 年前
public remove hover effect from settings icon 5 年前
scripts fix path for script 8 年前
tests fix for html 5 年前
views always use indielogin.com 5 年前
.gitignore add `code` and `realm` parameters for sending private webmentions 7 年前
CONTRIBUTING.md add contributing.md 8 年前
LICENSE replace license with apache 2.0 8 年前
README.md move init.sql to schema.sql 6 年前
composer.json use the user's own authz endpoint if one is defined 3 年前
composer.lock Bump phpunit/phpunit from 5.3.2 to 5.6.3 2 年前
config.template.php send exceptions to errbit 8 年前
phpunit.xml beginning API 8 年前

README.md

Telegraph

Telegraph is an API for sending Webmentions.

API

See https://telegraph.p3k.io/api

Developing

  • Fork and clone this repo.

  • Install MySQL, composer, beanstalk, and phpunit if they're not already installed, e.g. brew install mysql composer beanstalk phpunit.

  • Start MySQL and beanstalkd.

  • Copy config.template.php to config.test.php. Update the appropriate values for your local environment if necessary.

  • Run these commands to install the dependencies, create a local database, and run the tests:

    $ composer install
    $ mysql [ARGS] -e 'CREATE DATABASE telegraph;'
    $ mysql [ARGS] < migrations/schema.sql
    $ phpunit
    # Hack hack hack!
    

Credits

Telegraph photo: https://www.flickr.com/photos/nostri-imago/3407786186

Telegraph icon: https://thenounproject.com/search/?q=telegraph&i=22058

License

Copyright 2016-2018 by Aaron Parecki

Available under the Apache 2.0 license. See LICENSE.