【文件属性】:
文件名称:ShoppingCart:购物车添加
文件大小:66.81MB
文件格式:ZIP
更新时间:2021-02-20 01:32:14
PHP
一个非常基本的流明/React购物车应用程序。
要运行该应用程序:
cd在Docker目录中cd docker
运行docker-compose up
首次运行时,泊坞窗将拉出所有必需的容器和图像。 此过程需要一些时间,请耐心等待。 当您看到cart-node | Starting the development server...时,您将知道容器已完成构建cart-node | Starting the development server... 在Docker容器的标准输出中cart-node | Starting the development server...
副本.env.example文件到.env运行cp .env.example .env 。 该示例文件应足以运行PHP API
构建容器后,将ssh放入php容器docker exec -it cart-php