Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giantvlad/laravel_shop_cart
E-commerce template based on PHP8, Laravel 10, Octane, Vue.js, RoadRunner, Temporal.io
https://github.com/giantvlad/laravel_shop_cart
docker-compose e-commerce e-shop laravel laravel-shop mocha-webpack octane paypal php php8 roadrunner temporal vue-test-utils vuejs vuejs2
Last synced: 26 days ago
JSON representation
E-commerce template based on PHP8, Laravel 10, Octane, Vue.js, RoadRunner, Temporal.io
- Host: GitHub
- URL: https://github.com/giantvlad/laravel_shop_cart
- Owner: GiantVlad
- License: mit
- Created: 2017-10-16T12:31:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T19:09:04.000Z (about 1 month ago)
- Last Synced: 2024-10-12T12:41:47.627Z (26 days ago)
- Topics: docker-compose, e-commerce, e-shop, laravel, laravel-shop, mocha-webpack, octane, paypal, php, php8, roadrunner, temporal, vue-test-utils, vuejs, vuejs2
- Language: PHP
- Homepage: https://l-shop.westeurope.cloudapp.azure.com/
- Size: 9.91 MB
- Stars: 123
- Watchers: 4
- Forks: 39
- Open Issues: 7
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
## This is a Laravel + Vue.js e-commerce template that will make it easy for you to start your own online store.
There is the [DEMO](https://lara-shop.westeurope.cloudapp.azure.com/) ULE-shop.
[Video presentation](https://youtu.be/McmVr2FEo-0)
1. Setup docker and docker-compose on your local machine.
2. Create the .local_data folder in the root directory of the project
3. Install git. Fetch this project from Github (git clone).
4. Copy ".env.example" file and rename to ".env". Edit the .env file (connect to DB).
5. Run "docker-compose up" (you may need to restart docker-compose up 3-4 times).It uses roadrunner, Laravel/Octane and temporal.
If you prefer more traditional nginx/php server, checkout to the version 0.01 please.### Local endpoints:
- localhost -- Main App
- localhost:8088 -- [Temporal](https://temporal.io) UIHTTPS locally
```
mkdir ssl && cd ssl && mkcert -install
```Populate database
```
docker-compose exec roadrunner /bin/bash
composer install
php artisan migrate
php artisan db:seed --class=DatabaseSeeder
```To reset roadrunner server execute
```
docker-compose exec roadrunner rr -c /etc/.rr.yaml reset
```
To observe roadrunner workers execute
```
docker-compose exec roadrunner rr -c /etc/.rr.yaml workers -i
```How to use [xdebug with roadrunner](https://roadrunner.dev/docs/php-debugging/2023.x/en)
. Set in the rr settings: pool.num_workers: 1, pool.debug: false.
If you have any active XDebug listener while starting RoadRunner with XDebug enabled — disable it. This will prevent false-positive debug session.
Start server, enable listener and run:
``docker-compose exec roadrunner rr -c /etc/.rr.yaml reset http``_Uladzimir Sadkou_: [email protected]