Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jaytee's avatar
Level 39

Deploying app for first time

Hey guys,

I'm a little bit stuck. Usually in the past (i've only ever hosted two websites), I've just used one.com to do it for me so these tools (digital ocean etc) are new to me.

I'm having an issue trying to setup my app with Digital Ocean and i've also tried AWS. Could anyone point me in the right direction (video tutorial or explanation etc) to setting up my app please?

I haven't got a Laracasts subscription again yet as i can't so any paid videos, of course i can't view.

Thanks

0 likes
5 replies
richard's avatar

Have you developed the app already on your local machine? What have you used? Is it a Laraval App using a MySQL database?

jaydeluca's avatar

First off, if you havent heard of it, Laravel Forge (https://forge.laravel.com/) can take care of everything for you, but it is not free.

Otherwise you are going to need to ssh into the droplet and setup everything manually. My preferred way to deploy the code itself is via a git repository

Jaytee's avatar
Level 39

hi @jaydeluca I plan of using Forge when the real site releases. For now, i'm just releasing a test version so i'd prefer to do everything manually (and it would allow me to gather an understanding).

richard's avatar
  1. Purchase the host/domain GoDaddy, Namecheap etc

  2. Just upload the contents to public_html

  3. Create a database on cPanel.

  4. Edit the .env with the correct database credentials

  5. Migrate database

  6. visit your domain example.com/public and check if it works. (The errors should guide you what to do next.)

I swear you have a lot of work to do and configure.

The best solution is to use Laravel Forge

Please or to participate in this conversation.