LinuxCommandLibrary

larasail

server provisioning tool for deploying Laravel applications on Digital Ocean

TLDR

Set up server with default PHP version

$ larasail setup
copy
Set up server with specific PHP version
$ larasail setup [php71]
copy
Add a new Laravel site
$ larasail host [domain] [path/to/site_directory]
copy
Retrieve Larasail user password
$ larasail pass
copy
Retrieve MySQL password
$ larasail mysqlpass
copy

SYNOPSIS

larasail command [arguments]

DESCRIPTION

larasail is a server provisioning tool for deploying Laravel applications on Digital Ocean servers. It automates the installation of PHP, Nginx, MySQL, Composer, and other Laravel dependencies.
The tool simplifies the process of setting up a production Laravel environment, handling web server configuration, SSL certificates, and database setup.

PARAMETERS

setup [phpversion_]

Set up server with Laravel dependencies
host domain directory
Add a new Laravel site
pass
Display the Larasail user password
mysqlpass
Display the MySQL password

CAVEATS

Designed specifically for Digital Ocean droplets running Ubuntu. Requires root access on the server. SSL certificate configuration may require additional steps.

HISTORY

Larasail was created by DevDojo to simplify Laravel deployment, providing a lightweight alternative to more complex server management tools.

SEE ALSO

composer(1), php(1), nginx(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community