Hi bro, I built a laravel web Application and i used vue.js for frontend. Can you please suggest me how can i deploy my web application in Digitalocean. I have tried with creating drople and deploy using ssh but I'm facing some issues after deploy like ssl not support so i delete the droplet can you help me with this please.
I followed your exact instructions but when I deploy I get: ERROR: failed to build: exit status 1 No file to start server Error: package-lock.json does not exist. (there's package.json only on the project but that's never been a problem). It's trying to use a Node.js buildpack instead of a PHP buildpack..
Hi, I have to deploy my Laravel application. What is better for me? Digital Ocean or AWS?
Digital ocean is cheaper and quick imo. But if you are expecting 100k users go for aws
@@CodingMonk Thank you, very kind!
Thanks ! Deploy topic is very interesting !
How do you link your domain name to your app ?
There is an option available in setting once you deploy app.
@@CodingMonk ok thanks ! Is it possible to start the reverb in the console preprocess ?
@julienSibille you can spin up another worker by creating new app. Thanks how you can scale different processes easily
Hi bro, I built a laravel web Application and i used vue.js for frontend.
Can you please suggest me how can i deploy my web application in Digitalocean.
I have tried with creating drople and deploy using ssh but I'm facing some issues after deploy like ssl not support so i delete the droplet can you help me with this please.
Laravel app platform will detect your app. And you can specify build commands for your app.
hi, i use a teplate for my laravel, but for some reason, the style is not loaded in my laravel. like no design at all
Check your tailwind or stylesheet file. Or web pack config
What about the application have database how i can run the migration??? Plz help
You can specify migration command in build commands
@@CodingMonk should i need database server or he will take care of it
@@CodingMonk i got [2024-10-05 08:03:48] │ public/build/assets/app-z-Rg4TxU.js 35.05 kB │ gzip: 14.08 kB
[2024-10-05 08:03:48] │ ✓ built in 252ms
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ In Connection.php line 825:
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select t
[2024-10-05 08:03:49] │ able_name as `name`, (data_length + index_length) as `size`, table_comment
[2024-10-05 08:03:49] │ as `comment`, engine as `engine`, table_collation as `collation` from infor
[2024-10-05 08:03:49] │ mation_schema.tables where table_schema = 'faculty_recourse' and table_type
[2024-10-05 08:03:49] │ in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ In Connector.php line 66:
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ SQLSTATE[HY000] [2002] Connection refused
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ INFO Seeding database.
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ In Connection.php line 825:
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: insert i
[2024-10-05 08:03:49] │ nto `users` (`name`, `email`, `password`, `updated_at`, `created_at`) value
[2024-10-05 08:03:49] │ s (Admin User, ahmed@gmail.com, $2y$12$zN2nN8wxlj7mVOOonvCOGPYR
[2024-10-05 08:03:49] │ c.G9A5fmt/lqklGGYaLhnbxIZHy, 2024-10-05 08:03:49, 2024-10-05 08:03:49))
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ In Connector.php line 66:
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ SQLSTATE[HY000] [2002] Connection refused
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ building: exit status 1
[2024-10-05 08:03:49] │ ERROR: failed to build: exit status 1
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ For documentation on the buildpacks used to build your app, please see:
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ Node.js v0.4.0 do.co/apps-buildpack-node
[2024-10-05 08:03:49] │ PHP v2.254.4 do.co/apps-buildpack-php
[2024-10-05 08:03:49] │
[2024-10-05 08:03:49] │ ✘ build failed
You need db server, specify in env variable
@@ahmed4so you need to create db server, you can use digital ocean managed db.
I followed your exact instructions but when I deploy I get: ERROR: failed to build: exit status 1 No file to start server Error: package-lock.json does not exist. (there's package.json only on the project but that's never been a problem). It's trying to use a Node.js buildpack instead of a PHP buildpack..
You need to push package-lock.json as well in your repository