https://github.com/preprio/laravel-complete-starter
The Complete Laravel Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.
https://github.com/preprio/laravel-complete-starter
laravel laravel-starter laravel10x
Last synced: 3 months ago
JSON representation
The Complete Laravel Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.
- Host: GitHub
- URL: https://github.com/preprio/laravel-complete-starter
- Owner: preprio
- Created: 2023-05-22T12:24:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T15:10:39.000Z (about 1 year ago)
- Last Synced: 2025-02-28T21:04:39.265Z (3 months ago)
- Topics: laravel, laravel-starter, laravel10x
- Language: Blade
- Homepage:
- Size: 498 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel Complete Starter
Look at the [Complete guide to Laravel and Prepr personalization](https://docs.prepr.io/connecting-front-end-apps/laravel-complete-guide) to learn more.
## Add the environment file
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
```## Update the environment file
In the .env file replace with the Prepr endpoint from your environment with demo content.
## Setup
Make sure to install the dependencies:
```
composer install
```
```
npm install
npm run dev
```### Generate App Key
```
php artisan key:generate
```### Create Database File
Create the SQLite database file used in this project. If you'd like to use a different database, check out the [Laravel docs](https://laravel.com/docs/11.x/database) for more details.
```
php artisan migrate
```## Development Server
Start the development server on http://localhost:8000
```
php artisan serve
```## Production
Check out the [deployment documentation](https://laravel.com/docs/10.x/deployment) for more information.