使用远程服务器开发Strapi

问题描述 投票:0回答:1

我对Strapi很陌生。

我试图在远程服务器上以开发模式运行一个项目。

我试着修改了configenvironmentsdevelopmentserver.json中的配置,但是当我启动时,我还是得到了以下信息

One more thing...
Create your first administrator � by going to the administration panel at:
┌─────────────────────────────┐
│ http://localhost:1337/admin │
└─────────────────────────────┘

我查看了文档并做了许多搜索,但我没有找到一个解决方案,可以轻松地将主机设置为0.0.0.0或定义主机名。

如果有任何帮助,我将非常感激。

remote-server strapi
1个回答
0
投票

我想明白了。 我使用的虚拟机太小了。 指南包含在 https:/strapi.iodocumentationv3.xinstallationdigitalocean-on-click.html#step-2-create-a-project。但在一般教程中没有。

© www.soinside.com 2019 - 2024. All rights reserved.