Search code examples
remote-serverstrapi

Strapi development using a remote server


I'm pretty new to strapi.

I'm trying to run a project in development mode on a remote server.

I have tried changing the configuration in the /config/environments/development/server.json, however when I start up I still get

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

I've checked the documentation and done a number of searches, but I haven't found a solution where I can easily set the host to 0.0.0.0 or define the hostname.

Any help is greatly appreciated.


Solution

  • I figured it out. The virtual machine I was using was too small. The guidelines are included at https://strapi.io/documentation/v3.x/installation/digitalocean-one-click.html#step-2-create-a-project, but not in the general tutorial.