tighten/novapackages
소개
Note: This webhook is hit when certain events are fired. If you are not testing this webhook specifically, you may want to consider commenting it out to avoid sending unnecessary Slack notifications.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Nova Packages
Setting up Passport
php artisan passport:keysphp artisan passport:client --personal
Setting up Scout with Typesense
- Set up a Typesense instance locally or on a server. For local development, you can use https://github.com/tighten/takeout to run Typesense.
- Update the
.envvariables for your Typesense instance. - After seeding your database, run
php artisan scout:import "App\Package"
Seeding the Database
php artisan db:seed
Setting up GitHub Authentication
- Make a new GitHub OAuth application
- Set
http://novapackages.test/login/github/callbackas the Authorized Callback URL - Copy the GitHub app id and secret to
GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRETin the.envfile - Create a new Personal Access Token with the
public_reposcope enabled - Copy the token to
GITHUB_TOKENin the.envfile.
Setting up Slack Test Webhook
- Add the
SLACK_URLvariable to your.envto post to a Slack channel of your choosing.
Note: This webhook is hit when certain events are fired. If you are not testing this webhook specifically, you may want to consider commenting it out to avoid sending unnecessary Slack notifications.
Setting up the Filesystem for Screenshots
- Run
php artisan storage:link
Testing
Some of the tests in this suite depend on an active internet connection, and will run by default. tests/Feature/RepoTest.php provides coverage for the ReadMe import feature, and tests/Feature/CheckPackageUrlsCommandTest.php provides coverage for the command that periodically validates package urls.
For convenience, these tests have been added to the integration group. If you would like to exlude these tests from running, you may do so by using phpunit's --exclude-group option:
phpunit --exclude-group=integration
관련 프로젝트 살펴보기
불러오는 중…