mysql : 5.7
php : 7.4
nginx : 1.2
phpMyAdmin : latest
Laravel : 8.*
- laravel-debugbar
- laravel/breeze : 1.*
admin:
url: http://localhost:8080/admin
user: admin1
email: [email protected]
password: password123
owner:
url: http://localhost:8080/owner
user: owner1
email: [email protected]
password: password123
user:
url: http://localhost:8080/
user: user1
email: [email protected]
password: password123
credit card:
email: [email protected]
number: 4242424242424242
deadline: 12 / 30
sec number: 123
name: user1
If you want to try a payment service, you need to register with stripe and get your public and secret keys.
stripe(payment service): https://dashboard.stripe.com/
$ git clone https://github.com/y-arimura1222/laravel-ec.git
$ cd laravel-ec
$ cp .env.sample .env
$ make init
<!--
If you want to try the payment service,
please add the public key and secret key of stripe.
src/.env
STRIPE_PUBLIC_KEY
STRIPE_SECRET_KEY
-->
web :
http://localhost:8080
phpMyAdmin :
http://localhost:8888/
<!-- docker compose up -->
$ make up
<!-- docker compose down -->
$ make down
You can know the contents of the command with Makefile
$ git clone https://github.com/y-arimura1222/laravel-ec.git
$ cd laravel-ec
$ rm -r src
$ cp .env.example .env
<!-- Please rewrite this file to your own environment laravel-ec/.env -->
<!--
The docker/php/Dockerfile and docker/php/laravel-install.sh
are specifications for creating Laravel-ec.
There are many packages that are not needed just for checking the operation.
Edit it to suit your environment before the next command execution.
-->
$ docker-compose up -d --build
$ docker-compose exec app sh < ./docker/php/laravel-install.sh
laravel-ec/src/.env
$ docker-compose exec app sh
$ php artisan migrate
<!-- If the command is successful -->
$ exit
web :
http://localhost:8080
phpMyAdmin :
http://localhost:8888/
Enjoy Laravel8.* simulation!
Thank you!