BjornDCode / provisioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provisioning

Requirements

The only requirement is to have docker installed on the machine to run the application.

Installation

Create .env file

cp .env.example .env

Update the the environment variables with valid values

GitHub application

To use the GitHub integration it's required to create a GitHub application and update the .env file.

Stripe application

To use the Stripe integration it's required to create a Stripe application and update the .env file.

Forge application

To use the Stripe integration it's required to create a Stripe application and update the .env file.

Installing composer dependencies

./vendor/bin/sail composer install

Start containers

./vendor/bin/sail up -d

Installing NPM dependencies

./vendor/bin/sail npm install

Compile assets

./vendor/bin/sail npm run dev

Running tests

./vendor/bin/sail test

Note: In order for the tests to run the .env file must be properly configured with all integrations. This includes creating a Forge API key.

Running websockets

sail artisan websockets:serve

Running queues

sail artisan queue:listen --timeout=1800

Stripe

Run ngrok to receive Stripe webhooks. (Remember to update the webhook url in Stripe to the ngrok url).

ngrok http 80

About


Languages

Language:PHP 82.1%Language:JavaScript 17.5%Language:Shell 0.2%Language:Blade 0.2%