You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
723 B

9 years ago
9 years ago
9 years ago
9 years ago
  1. # Telegraph
  2. Telegraph is an API for sending [Webmentions](http://webmention.net).
  3. ## API
  4. See https://telegraph.p3k.io/api
  5. ## Developing
  6. * Fork and clone this repo.
  7. * Install MySQL if it's not already installed.
  8. * Copy `config.template.php` to `config.test.php` and fill in the appropriate
  9. values for your local environment.
  10. * Install the dependences, create a local database, and run the tests:
  11. ```sh
  12. $ composer install
  13. $ mysql [ARGS] -e 'CREATE DATABASE telegraph;'
  14. $ mysql [ARGS] < schema.sql
  15. $ phpunit
  16. # Hack hack hack!
  17. ```
  18. ## Credits
  19. Telegraph photo: https://www.flickr.com/photos/nostri-imago/3407786186
  20. Telegraph icon: https://thenounproject.com/search/?q=telegraph&i=22058