I
I
Ilya2019-07-31 20:49:35
Laravel
Ilya, 2019-07-31 20:49:35

Laravel: how to prepare a server for deployment?

Greetings!
I used Homestead (Vagrant) to develop the project on Laravel. Very convenient, all tools are available out of the box.
Partly, I chose this option to have absolutely identical assemblies when developing on different machines.
Direct question: are there similar assemblies for hosting servers?
I am planning to move the project to VPS. I don't want to install everything manually. Ideal: Create an environment identical to Homestead.
Are there tools to quickly prepare hosting for publishing a Laravel project?
PS If it's important, tools will be used: Sprintbox, Github, Deployer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2019-07-31
@Nc_Soft

Use docker image
for laravel

I
Igor Vorotnev, 2019-08-01
@HeadOnFire

Docker (if I like the technology, I don't) or Laravel Forge. In general, setting up a server once is not such a problem, you can dig deeper for general development. And the deployment itself is better not through pure Deployer, but through https://github.com/lorisleiva/laravel-deployer. By the way, the author also has a Docker container for this https://github.com/lorisleiva/laravel-docker ( https://hub.docker.com/r/lorisleiva/laravel-docker)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question