Since the web server runs separately from your operating system, commands are called using
sail artisaninstead ofphp artisan.
Laravel Sail is a command-line interface for interacting with a local Docker development environment. It helps you get started by automating the process of setting up the web server and database. These instructions teach you how to use Sail and October CMS together to get up and running.
The instructions to install Sail will differ depending on your operating system. Also a different build URL is used to install October CMS. By default this URL only installs the base environment with a MySQL service.
Replace
example-appwith any directory name and this is where October CMS will be installed.
curl -s "https://octobercms.com/api/laravelsail/example-app" | bashWith this different URL in mind, get started by following the specific Laravel guide for your operating system.
Once everything is ready, you are prompted to run these commands to start the web server.
cd example-app
./vendor/bin/sail upNext, open another console window, navigate to the same directory and run these commands to install October CMS. The database settings are preconfigured and ready to go.
./vendor/bin/sail artisan october:installAfter the installation is complete, open the website using the http://localhost address.