Look at the Complete guide to Laravel and Prepr to learn more.
Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:
cp .env.example .env
In the .env file replace <YOUR-PREPR-ENDPOINT>
with the API URL of the Prepr GraphQL Preview access token from your Acme Lease Demo environment.
Go to the resources/views/pages/index.blade.php
file and replace the placeholder <!-- Your Prepr Tracking Code -->
with your own tracking code in Prepr.
Make sure to install the dependencies:
composer install
npm install
npm run dev
In a separate terminal, run the following command to generate a new app key.
php artisan key:generate
Create the SQLite database file used in this project. If you'd like to use a different database, check out the Laravel docs for more details.
php artisan migrate
Start the development server on http://localhost:8000
php artisan serve
Check out the deployment documentation for more information.