Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache 澄清什么/如何部署";“咕噜建造”;_Apache_Gruntjs - Fatal编程技术网

Apache 澄清什么/如何部署";“咕噜建造”;

Apache 澄清什么/如何部署";“咕噜建造”;,apache,gruntjs,Apache,Gruntjs,我有一个简单的网络应用程序。我可以使用“grunt-service”查看所有文件,并使用“grunt-build”将文件构建到文件夹“dist”。dist文件夹有两个文件夹:public和server 我想将其部署到ApacheHTTP服务器。我有点纠结于要将哪些文件复制到web服务器中的htdocs(DocumentRoot) 我非常欣赏关于如何将grunt构建的输出部署到apachehttp服务器的任何指导。谢谢 我很少使用grunt,但根据我的经验,您应该将server/dist或node

我有一个简单的网络应用程序。我可以使用“
grunt-service
”查看所有文件,并使用“
grunt-build
”将文件构建到文件夹“
dist
”。
dist
文件夹有两个文件夹:
public
server

我想将其部署到ApacheHTTP服务器。我有点纠结于要将哪些文件复制到web服务器中的
htdocs
DocumentRoot


我非常欣赏关于如何将
grunt构建的输出部署到apachehttp服务器的任何指导。谢谢

我很少使用grunt,但根据我的经验,您应该将
server/dist
node\u server/dist
中的文件(如果在windows上,则将“/”替换为“\”),这取决于您在apache DocumentRoot中使用的grunt版本 但我可能错了,这可能就是我们特定构建的配置方式