dependabot[bot] 68550b4859 | před 2 roky | |
---|---|---|
controllers | před 3 roky | |
data | před 4 roky | |
lib | před 4 roky | |
migrations | před 6 roky | |
public | před 5 roky | |
scripts | před 8 roky | |
tests | před 5 roky | |
views | před 5 roky | |
.gitignore | před 7 roky | |
CONTRIBUTING.md | před 8 roky | |
LICENSE | před 8 roky | |
README.md | před 6 roky | |
composer.json | před 3 roky | |
composer.lock | před 2 roky | |
config.template.php | před 8 roky | |
phpunit.xml | před 8 roky |
Telegraph is an API for sending Webmentions.
See https://telegraph.p3k.io/api
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!
Telegraph photo: https://www.flickr.com/photos/nostri-imago/3407786186
Telegraph icon: https://thenounproject.com/search/?q=telegraph&i=22058
Copyright 2016-2018 by Aaron Parecki
Available under the Apache 2.0 license. See LICENSE.