skycli
installed and configured properly. If you haven't, follow this to set it up.nodeserver
and go inside:skycli
app creation command and give the new app a name. It's better to prefix you app name with your name or preferred alias like your GitHub ID, since Skygear cluster is shared among everyone who has an account and it's likely someone has already taken the app name nodeserver
.<your_name>-nodeserver
:Node.js Express
:skygear.yaml
is always needed in order to deploy. It's a configuration file carrying information about the deployment. Let's have a look at the one created by our Node.js Express template:frontend
is declared at line 4, with its properties lying underneath. Line 6 tells Skygear where the source code lies, while line 8 defines the endpoint to reach the service.template
, you don't need to provide a Dockerfile anymore.nodeserver
where skygear.yaml
lies, run:.skyignore
file. It works the same as .dockerignore
.Dockerfile
instead. Learn about it here.