jartaud / novapackages

Home Page:https://novapackages.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nova Packages

Setting up Passport

  1. php artisan passport:keys
  2. php artisan passport:client --personal

Setting up Scout

  1. Make a new Algolia app
  2. Put its key and ID into your .env
  3. php artisan scout:import "App\Package"

Setting up GitHub Authentication

  1. Make a new GitHub OAuth application
  2. Set http://novapackages.test/login/github/callback as the Authorized Callback URL
  3. Copy the GitHub app id and secret to GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in the .env file.

Setting up Slack Test Webhook

  1. Add the SLACK_URL variable to your .env to 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

  1. Run php artisan storage:link

Testing

The tests in tests/Feature/RepoTest.php provide coverage for the readme import feature. These tests depend on an active Internet connection and will run by default. For convenience, they 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

About

https://novapackages.com


Languages

Language:PHP 73.3%Language:Vue 14.7%Language:Blade 11.9%Language:Shell 0.2%