使用远程服务器进行 Strapi 开发

Strapi development using a remote server

我是 strapi 的新手。

我正在尝试 运行 远程服务器上处于开发模式的项目。

我已经尝试更改 /config/environments/development/server.json 中的配置,但是当我启动时我仍然得到

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

我查看了文档并进行了大量搜索,但没有找到可以轻松将主机设置为 0.0.0.0 或定义主机名的解决方案。

非常感谢任何帮助。

我明白了。我使用的虚拟机太小了。这些指南包含在 https://strapi.io/documentation/v3.x/installation/digitalocean-one-click.html#step-2-create-a-project 中,但不包含在一般教程中。