Urls used in the project:
Name | Url |
---|---|
front | weldapp.localhost |
admin | weldapp.localhost/adminxxtzyfar135 |
phpmyadmin | localhost:8081 |
To get started, make sure you have Docker installed on your system and Docker Compose, and then clone this repository.
-
Clone this project:
git clone [YOUR_REPO_URL_HERE]
-
Inside the root directory and Generate your own
.env
to docker compose with the next command:cp .env.example .env
-
Inside the folder
api
and Generate your own.env
to laravel with the next command:cd api cp .env.example .env
-
Install pakages by composer
docker-compose run composer install
-
Generate database tables
docker-compose run artisan migrate
-
Populate data to database tables
docker-compose run artisan db:seed
-
Link storage
docker-compose run artisan storage:link
-
Run the project whit the next commands:
docker-compose up
If you get folder permission error, run following command
chmod -R 777 api/storage/*