Is it possible to deploy my Laravel and Nodejs and angularjs app to Heroku?

I was wondering if it is possible to deploy an application (but one that Laravel 4, nodejs angularjs, socketio has) for herooku. The problem is I really don't understand it because nodejs needs to open a terminal and write "node server" for it to start. But Laravel as another backend has a different configuration.

help me please.

+3


source to share


1 answer


Yes it is. You can try it out using larasocial template.

Larasocial is a simple yet rich web application built on top of the Laravel framework. Inside, you'll find features like friend request, user-to-user chat, private messages, and more. To view the application, go to http://larasocial.info



Download instructions:

  • git clone https://github.com/msalom28/Larasocial.git projectname
  • installing composer (you may get an error with the elephant.io package. After downloading, the package folder may appear empty, just close your text editor and reopen the project and the files will be there. know why this is happening.)
  • npm install
  • php artisan migrate --seed
  • type "node server.js" in your terminal (leave the terminal open with the command running)
  • php artisan serve
+1


source







All Articles