Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.24 KB

CONTRIBUTING.md

File metadata and controls

63 lines (43 loc) · 1.24 KB

Installation

  1. Clone the repository:
git clone [email protected]:hybridly/demo.git blue-bird && cd blue-bird
  1. Use SQLite to simplify installation by creating a file database.
touch database/bluebird.db
  1. Create a new .env file by copying .env.example and include the required database information to complete the migration.
cp .env.example .env
  1. Fill the following environment variables:
DB_CONNECTION=sqlite
DB_DATABASE=database/bluebird.db
  1. Install the dependencies using pnpm (we recommend using ni if you are used to other package managers):
pnpm install # or `ni`
composer install
  1. Run the migrations:
php artisan migrate --seed
  1. Secure your local site development by using the Herd UI or with Valet on the console by using:
valet secure blue-bird
  1. Start the Vite server and enjoy!
pnpm run dev # or `nr dev`

Troubleshooting

If you are receiving this error:

error when starting dev server:
Error: Unable to find Valet certificate files for your host [blue-bird.test]. Ensure you have run "valet secure".
  • Run valet secure
  • Or edit vite.config.ts and remove the valetTls line.