Report this

What is the reason for this report?

I have a live Laravel app running. I have added vuejs to this app. How would I deploy this live on Digital Ocean?

Posted on January 29, 2018

I am running Ubuntu LAMP on 16.04 . Just looking for a simple tutorial on how to push to production.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It sounds like you already have an application running, vuejs is simply static content that you can run alongside your Laravel app. How are you currently deploying your Laravel app?

If you haven’t deployed your Laravel app to a droplet yet, there are a few ways to go about it. One way is to use Ansible (there is a great tutorial here: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-basic-php-application-using-ansible-on-ubuntu-14-04).

If you’re looking for a more manual solution, I’m a big fan of Shipit, which simply helps you clone a git repo on your server: https://github.com/shipitjs/shipit

My Laravel app is already deployed to a droplet already . I ssh into Digital Ocean to deploy it and pull any new changes.

Here is a tutorial I used to get vuejs running in development. Laravel VueJS Tutorial Example From Scratch. In developement all works fine.

As of now I have used the following 2 tutorials and I get errors on installation. Deploy a VueJS App with DigitalOcea and How To Install Nginx on Ubuntu 16.04

What I am looking for are instructions or a good tutorial on what I need to install and how on Digital ocean.

Issue solved. I had a file named incorrectly. The first letter was in caps, should have been in lowercase.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.