[英]Deploy Laravel and Angular project on client system without using localhost or Command
I created a project using Angular and Laravel and want to run it on user system without using localhost and "php artisan serve" command because user doesn't know all these command and doesn't go to technicality. 我使用Angular和Laravel创建了一个项目,并希望在用户系统上运行该项目而不使用localhost和“ php artisan serve”命令,因为用户不了解所有这些命令,也不了解技术性。 I created the desktop app of my Front End code by using Electron and want to communicate with Laravel app without using any localhost server.
我使用Electron创建了前端代码的桌面应用程序,并希望与Laravel应用程序通信而不使用任何本地主机服务器。
I already deployed this project using XAMPP but after some days when data increased then XAMPP faced issues and didn't response so i didn't want to use localhost for future. 我已经使用XAMPP部署了该项目,但是当数据增加后的几天,XAMPP遇到了问题并且没有响应,因此我不想将来使用localhost。
I simply want solution through with i run this project on user system without running localhost or some kind of command. 我只是想通过我在用户系统上运行该项目而不通过运行localhost或某种命令的解决方案。 I simply want to communicate with Laravel app from my Front end Angular code.
我只想从我的前端Angular代码与Laravel应用通信。
I would recommend you to use Docker + docker-compose. 我建议您使用Docker + docker-compose。 It's easy to setup environment for project and if you want you can run it in a background mode on "user" side.
为项目设置环境很容易,如果需要,可以在“用户”侧以后台模式运行它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.