DEV Community

Gustavo Jhon
Gustavo Jhon

Posted on • Edited on

Docker and laravel

Getting Started On Windows

curl -s https://laravel.build/example-app | bash

cd example-app

./vendor/bin/sail up
Enter fullscreen mode Exit fullscreen mode


`

Getting Started On Linux

error docker runnig

sudo chmod 666 /var/run/docker.sock\n

bash
curl -s https://laravel.build/example-app | bash

Installing Sail Into Existing Applications

If you are interested in using Sail with an existing Laravel application, you may simply install Sail using the Composer package manager. Of course, these steps assume that your existing local development environment allows you to install Composer dependencies:

bash
composer require laravel/sail --dev

After Sail has been installed, you may run the sail:install Artisan command. This command will publish Sail's docker-compose.yml file to the root of your application:

bash
php artisan sail:install

Finally, you may start Sail. To continue learning how to use Sail, please continue reading the remainder of this documentation:

bash
./vendor/bin/sail up

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)