Get Started

The first thing it's check if already have access to Github Repository, after getting access you need to choose the repository for your use case:

launchstack-stripe or launchstack-paddle

Clone the Release

That's an important step, don't clone the repository directly, use the Releases Tab on Github and clone the last.

Let's generate our application key:

sail artisan key:generate

Run the migration

php artisan migrate:fresh --seed

You will need run migration free with seed because LaunchStack depends on some data like languages, timezones and etc.

.Env

Inside the root project folder exist three .env examples:

  • .env.example (default)

  • .env.docker.example (for use with docker)

  • .env.dusk.local.example (to run dusk tests locally)

Copy the correct env file example to your project root as .env and update it with your credentials.

You can run the Launch stack on your machine in many ways:

  • Running native PHP locally, similar to Laravel Valet

  • Running a virtual machine, like a Laravel Homestead

  • Running a Docker (Recommended)

Docker Support

LaunchStack comes with support Docker Support as default, it's backed by Laravel Sail.

To run the Launch Stack with docker, the first time you need to run the command below to install all dependencies

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php82-composer:latest \
    composer install --ignore-platform-reqs

After you download all docker imagens, you need up the containers:

sail up -d

With your docker up, you can run commands like:

sail npm install && sail npm run dev
sail artisan make:migration create_your_table

Last updated