How to Build and Deploy a Laravel App

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 37

  • @NeelanshMathur
    @NeelanshMathur Рік тому +1

    Great workshop, even in 2022. Both Laravel and DigitalOcean have come far since then. Thanks a lot!

  • @marcinmaj3609
    @marcinmaj3609 3 роки тому +6

    What about cron and query workers?

  • @etthek
    @etthek 3 місяці тому

    I am trying to create app using php but I got build fail error and asking me to use either docker or Nodejs but I did not see to use either of them. I noticed that the build phase starts with Node in the current app creating process which I did not see in your case. What are your thoughts on this matter? Tks.

  • @salaheddinebendyab
    @salaheddinebendyab 2 роки тому +1

    Hi, I have a problem with the session though i use database as driver for it ??

  • @mariandumitru9737
    @mariandumitru9737 Рік тому +2

    Hi guys! I deployed a Laravel project on Digitalocean App Platform, but some reason my POST requests are converted into GET requests. On my local environment everything works fine. Does anybody know a potential reason why?

    • @moijamie
      @moijamie Рік тому +1

      Do you have a / at the end of the URL?

  • @pticalarry8640
    @pticalarry8640 3 роки тому +1

    How can I add cron job to my app, I couldn't find any way

  • @marlocorridor4354
    @marlocorridor4354 8 місяців тому

    Please make an updated for the current version of Digital Ocean apps

  • @user-kg9hk2wk6w
    @user-kg9hk2wk6w 3 роки тому +3

    what if i wanted to add vue js in the project?

  • @bvd6314
    @bvd6314 3 роки тому +1

    How do I setup my dev environment to look like yours? My term doesn't look like that, my code layout doesn't look like that and I can't just type "laravel new 'name' to create a new install - get the error '-bash: laravel: command not found'

    • @bvd6314
      @bvd6314 3 роки тому

      Do you have a video on how to setup you local dev env on a mac?

    • @eth1636
      @eth1636 3 роки тому

      @@bvd6314 you have to install laravel installer first before using ‘laravel new name’ I guess this help

  • @renatoalvareztv
    @renatoalvareztv 2 роки тому

    I have a problem with Laravel Jetstream when a user login the page only is refreshed

  • @berthojoris
    @berthojoris 2 роки тому

    The waiting time to push code and build is very long. Plese fix this

  • @Kedarbhokare
    @Kedarbhokare 3 роки тому +1

    I am new to digital ocean, where are all files located ? I want to add old profile images of my user, but I don't have access to my storage folder

    • @leroyaron7854
      @leroyaron7854 3 роки тому

      Dunno if anyone gives a damn but if you're bored like me atm then you can watch pretty much all the latest series on instaflixxer. I've been binge watching with my gf recently :)

    • @ezekielkole9328
      @ezekielkole9328 3 роки тому

      @Leroy Aron Definitely, I've been using InstaFlixxer for years myself :)

  • @kamalCode
    @kamalCode 3 роки тому +2

    Sir, plz digital ocean settings and security configure for developer tuotorials plz plz cover all topics (MERN, FLUTTER) WEB AND APP BOTH FROM INDIA. I PERSONALLY REQUEST TO YOU

    • @kvazaios5026
      @kvazaios5026 3 роки тому +6

      CHILL YOU CRAZY😂

    • @Ahmed-157
      @Ahmed-157 2 роки тому +1

      @@kvazaios5026 SIR PLEASE SIR YOU GOTTA DO THIS SIR I WILL GET FIRED THEY WILL KICK ME OUT SIR SIR SIR PLEASE SIR YES SIR

  • @kaluchinonso7786
    @kaluchinonso7786 3 роки тому

    Please the deployment failed. i got an error that looks like this.
    [2021-09-12 15:30:17] ---> Node.js Buildpack
    [2021-09-12 15:30:17] ---> Installing toolbox
    [2021-09-12 15:30:17] ---> - jq
    [2021-09-12 15:30:17] ---> - yj
    [2021-09-12 15:30:17] ---> Getting Node version
    [2021-09-12 15:30:17] ---> Resolving Node version
    [2021-09-12 15:30:20] ---> Downloading and extracting Node v12.22.6
    [2021-09-12 15:30:33] ---> Parsing package.json
    [2021-09-12 15:30:34] ---> No file to start server
    [2021-09-12 15:30:34] ---> either use 'docker run' to start container or add index.js or server.js
    [2021-09-12 15:30:34] Error: package-lock.json does not exist. Please commit either a package-lock.json or yarn.lock file to your repository and try again.
    [2021-09-12 15:30:34] project does not contain a package manager lockfile
    [2021-09-12 15:30:34] ERROR: failed to build: exit status 1
    [2021-09-12 15:30:36]
    [2021-09-12 15:30:36] For documentation on the buildpacks used to build your app, please see:
    [2021-09-12 15:30:36] Node.js: do.co/apps-buildpack-node
    [2021-09-12 15:30:36] PHP: do.co/apps-buildpack-php
    [2021-09-12 15:30:36]

    • @DigitalOcean
      @DigitalOcean  3 роки тому +1

      Hi Kalu, you’ll need to commit a package-lock.json or yarn.lock file depending on which package manager you’re using, NPM or Yarn. These files will be automatically generated by NPM or Yarn when you run them on your dev machine. Push the lock file to your repo so the build can proceed.

    • @apiKodes
      @apiKodes 2 роки тому

      @@DigitalOcean thanks. It worked 💪

  • @storiesofhearts4357
    @storiesofhearts4357 2 роки тому

    nice one ,hey how to use news api laravel

  • @BarsKalaycoglu
    @BarsKalaycoglu 2 роки тому

    Can we redirect wildcard CNAME to app domain ?

    • @DigitalOcean
      @DigitalOcean  2 роки тому

      Yes wildcard domains are supported :)

  • @kid_rz
    @kid_rz 3 роки тому

    Deploy Laravel sail on vps please.

  • @salaheddinebendyab
    @salaheddinebendyab 3 роки тому

    how send mail in laravel use my server in dijitalochen ??

  • @jayhenry5765
    @jayhenry5765 3 роки тому

    So, scotch.io deployed on Digital ocean?

    • @DigitalOcean
      @DigitalOcean  3 роки тому

      Hi Jay! Scotch.io has been deployed to DigitalOcean since it was first created. Started on Droplets and the architecture hasn't changed much. Added in Managed Databases and load balancers over the years.

  • @Joso997
    @Joso997 Рік тому

    42:48
    Where are Commands in 2023?

  • @pticalarry8640
    @pticalarry8640 3 роки тому

    At least don't tell that droplet is an old way of deploying projects, because this App platform is in beta and don't have some important things such as cron jobs. You should mention that stuff in the beginning of the video. Now I need to move all project to droplet.

  •  2 роки тому

    I just want to show people how to setup an VM on Digital Ocean but I just see writing a basic Laravel application instead. WHAAAT? Just let us read some commands to run on ssh and get it up and running. Disliked this. Disliked very much... abcdefu!