How to host your laravel project for free on railway.app

How to host your laravel project for free on railway.app

Chukwuemeka Ochuba

10 месяцев назад

9,768 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Orapeleng Mathebula
Orapeleng Mathebula - 28.10.2023 18:14

can you use the mysql db that in your localhost, is there way to upload it. I didnt use migrations

Ответить
Rony Tacatic
Rony Tacatic - 25.10.2023 18:00

When deploying I receive this error:
ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force" did not complete successfully: exit code: 1


Error: Docker build failed

Ответить
PleTech
PleTech - 25.10.2023 11:50

I have ERROR
COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix

8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d

9 |

10 | COPY .nixpacks/assets /assets/

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1



Error: Docker build failed"

Ответить
James Adeyemo
James Adeyemo - 18.10.2023 04:48

Thanks for this video sir... But im getting "deployment failed" after setup. What could be the problem?

Ответить
peter Mwaura
peter Mwaura - 10.10.2023 16:15

would you mind shairing your docker file?

Ответить
Gouse jaheer
Gouse jaheer - 07.10.2023 14:57

i got this errors while deploying how to solve this

ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install --ignore-platform-reqs" did not complete successfully: exit code: 255

Error: Docker build failed

Ответить
abdullah aflaha aslam
abdullah aflaha aslam - 27.09.2023 09:37

how about install npm sir?
is there something wrong if i use this?
NIXPACKS_BUILD_CMD= npm run build && composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force

Ответить
Steven Maina
Steven Maina - 25.09.2023 21:41

am getting this error
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

Ответить
Chukwuemeka Ochuba
Chukwuemeka Ochuba - 11.09.2023 16:54

NIXPACKS_BUILD_CMD=composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force

Ответить