Skip to content

DerpgonCz/sochp-db

Repository files navigation

Development

Prerequisites

  • Docker
  • Docker Compose
  • Terminal
  • Web browser

Setup

Initial

Linux

  1. Clone the repository
    • git clone URL
  2. Open the terminal
  3. cd to the application root
  4. Copy .env file
    • cp .env.example .env
  5. (optional) Edit .env file to your liking
  6. Run the services
    • Run in foreground: sail up
    • Run in background: sail up -d
  7. Install dependencies
    • sail composer install
    • sail yarn install
  8. Migrate the database
    • sail artisan migrate
  9. (optional) Seed some test data
    • sail artisan db:seed

Windows

I wish you good luck

MeiliSearch

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.

  1. Enable MeiliSearch integration
    • Uncomment these lines from .env file:
      • SCOUT_DRIVER=meilisearch
      • MEILISEARCH_HOST=http://meilisearch:7700
  2. Import models
    • sail artisan scout:import:all

Site links

License

This project is open-sourced and licensed under the MIT license. The Laravel framework is open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages