- Docker
- Docker Compose
- Terminal
- Web browser
- Clone the repository
git clone URL
- Open the terminal
cd
to the application root- Copy
.env
filecp .env.example .env
- (optional) Edit
.env
file to your liking - Run the services
- Run in foreground:
sail up
- Run in background:
sail up -d
- Run in foreground:
- Install dependencies
sail composer install
sail yarn install
- Migrate the database
sail artisan migrate
- (optional) Seed some test data
sail artisan db:seed
I wish you good luck
This project uses the Laravel Scout package to search models. By default, it looks up models directly from the database. To use the MeiliSearch database to lookup models, there are a few necessasy steps.
- Enable MeiliSearch integration
- Uncomment these lines from
.env
file:SCOUT_DRIVER=meilisearch
MEILISEARCH_HOST=http://meilisearch:7700
- Uncomment these lines from
- Import models
sail artisan scout:import:all
- Main site: http://localhost/
- MeiliSearch: http://localhost:7700/
- Mailhog: http://localhost:7700/
This project is open-sourced and licensed under the MIT license. The Laravel framework is open-sourced software licensed under the MIT license.