简体   繁体   English

在不使用localhost或Command的情况下在客户端系统上部署Laravel和Angular项目

[英]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.

相关问题 将 laravel 项目部署到 InfinityFree - Deploy laravel project to InfinityFree 带有laravel的ajax的评论系统,无需重新加载页面 - comment system using ajax with laravel without reloaded page # laravel 将 localhost 项目与远程数据库连接 - # laravel connect localhost project with remote database 如何使用 Visual Studio C# 和 MYSQL 创建安装程序或安装程序文件并添加 MYSQL 参考以将我的项目部署到另一个系统? - how to create a setup or installer file and adding MYSQL reference using visual studio C# and MYSQL for deploy my project into another system? 用户'@'localhost'的访问被拒绝(使用密码:NO)-Laravel - Access denied for user ''@'localhost' (using password: NO) - Laravel 尝试将 localhost laravel 项目从另一台服务器连接到另一个数据库 - Try to connect localhost laravel project to another database from another server 使用Docker部署laravel项目时出现mysql错误 - Get mysql error when deploy laravel project with Docker 使用MySQL命令行客户端 - Using MySQL Command Line Client 使用没有WIFI的智能手机访问Alocalhost网站 - Acess localhost site using a smartphone without WIFI 如何部署一个在 Angular、Spring Boot 和 MySQL 之间拆分的项目? - How to deploy a project that's split between Angular, Spring Boot and MySQL?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM