This project is a Revews Shopify Admin.
- nginx
- admin
- database
- redis
- mailhog
If you do not have docker installed please install docker
and docker-compose
first.
- Docker
- Docker Compose
Clone the project from github and run below command on root directory to copy docker-compose.yml file
cp docker-compose.yml.example docker-compose.yml
Now goto the admin
directory and copy .env.example into .env
cp .env.example .env
To run the project you have to run this command from Docker directory root
docker-compose up -d --build
Docker runs all the services in the background upon successful execution of above command. Now install admin project dependencies running following commands step by step.
docker-compose exec admin composer install
docker-compose exec admin php artisan migrate
To database seed please run the command
docker-compose exec admin php artisan db:seed
docker-compose exec admin php artisan db:seed --class=IllumineAdminDatabaseSeeder
To show all the running process, run the command below
docker-compose ps
To stop all the services, run the command
docker-compose down