Deploy Application Laravel 5.2 + Angular2

9

I'm developing a small application with Laravel 5.2 and Angular2. So far everything is ok in the development environment (not to contradict :)). My concern is how to deploy this application to a shared server - in which case I'll be posting on KingHost.

I have published projects using other technologies in this hosting without major problems.

But the current project has NodeJs and Laravel5.2 and both have a huge amount of dependencies that I believe that should not all be pushed to the server. This is my first project with these two technologies and I have no idea how to publish them . Flávio

    
asked by anonymous 31.08.2016 / 21:09

1 answer

1

In shared hosting plans, the client usually does not have access to install new features or services to be used on the server. The most common is to have only the freedom to configure the features already available in the contracted plan.

Although Laravel is listed among the frameworks supported by KingHost, neither NodeJs or Angular-2 are listed as "languages supported " or " compatible frameworks " (see Technical features a>)

* It would be necessary to access the administrative panel of the hosting to find out what is available to you, contact their support.

Among the plans of this lodging I do not know which one would suit you better. But in cases with such dependencies, I would use a droplet in Digital Ocean, where I would be free to set the environment the way I need it.

    
20.09.2016 / 19:10