You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update .env.example
add instruction to copy from .env.example
add these to the the env.example
-APP_KEY=
+APP_KEY=base64:p1bUrPrXlpGI/1kOqY/b44XijDrUXXHsQ8jFYNGPtmc=
-VITE_TYPESENSE_READ_ONLY_API_KEY="Generate a read-only API key in either Typesense Cloud or your self-hosted Typesense instance"
-VITE_TYPESENSE_HOST="${TYPESENSE_HOST}"
+SCOUT_DRIVER=typesense
+TYPESENSE_HOST=typesense
+TYPESENSE_PORT=8108
+TYPESENSE_PATH=''
+TYPESENSE_PROTOCOL=http
+FORWARD_TYPESENSE_PORT=8108
+TYPESENSE_DATA_DIR=/typesense-data
+TYPESENSE_API_KEY=xyz
+TYPESENSE_ENABLE_CORS=true
+TYPESENSE_DEBUG=true
+VITE_TYPESENSE_READ_ONLY_API_KEY="xyz"
+VITE_TYPESENSE_HOST=typesense
remove mailpit and selenium as irrelevant from docker-compose.yml
add
volumes:
- 'sail-pgsql:/var/lib/postgresql/data'
- './vendor/laravel/sail/database/pgsql/create-testing-database.sql:/docker-entrypoint-initdb.d/10-create-testing-database.sql'
- './data:/data'
- './.env:/.env'
- './scripts/sourcedb.sh:/sourcedb.sh'
and insructions to do the following in the postgress container
./vendor/bin/sail exec -it pgsql bash
chmod a+x ./sourcedb.sh
./sourcedb.sh
The text was updated successfully, but these errors were encountered:
Description
update .env.example
add instruction to copy from .env.example
add these to the the env.example
-APP_KEY=
+APP_KEY=base64:p1bUrPrXlpGI/1kOqY/b44XijDrUXXHsQ8jFYNGPtmc=
-DB_CONNECTION=sqlite
-# DB_HOST=127.0.0.1
-# DB_PORT=3306
-# DB_DATABASE=laravel
-# DB_USERNAME=root
-# DB_PASSWORD=
+DB_CONNECTION=pgsql
+DB_HOST=pgsql
+DB_PORT=5432
+DB_DATABASE=laravel
+DB_USERNAME=sail
+DB_PASSWORD=password
-VITE_TYPESENSE_READ_ONLY_API_KEY="Generate a read-only API key in either Typesense Cloud or your self-hosted Typesense instance"
-VITE_TYPESENSE_HOST="${TYPESENSE_HOST}"
+SCOUT_DRIVER=typesense
+TYPESENSE_HOST=typesense
+TYPESENSE_PORT=8108
+TYPESENSE_PATH=''
+TYPESENSE_PROTOCOL=http
+FORWARD_TYPESENSE_PORT=8108
+TYPESENSE_DATA_DIR=/typesense-data
+TYPESENSE_API_KEY=xyz
+TYPESENSE_ENABLE_CORS=true
+TYPESENSE_DEBUG=true
+VITE_TYPESENSE_READ_ONLY_API_KEY="xyz"
+VITE_TYPESENSE_HOST=typesense
remove mailpit and selenium as irrelevant from docker-compose.yml
add
volumes:
- 'sail-pgsql:/var/lib/postgresql/data'
- './vendor/laravel/sail/database/pgsql/create-testing-database.sql:/docker-entrypoint-initdb.d/10-create-testing-database.sql'
and insructions to do the following in the postgress container
./vendor/bin/sail exec -it pgsql bash
chmod a+x ./sourcedb.sh
./sourcedb.sh
The text was updated successfully, but these errors were encountered: