All WeDeploy services use a
wedeploy.json file to defines the service's attributes and configurations.
Once you push your local project to WeDeploy, we scan it for
wedeploy.json files. When we find one, we serve that whole directory as a part of the service you defined within.
For example, let's say you have a project named
app that uses our Data service with a Node.js application. This is what your project's file structure could look like:
app ├── nodejs │ ├── index.js │ ├── package.json │ └── wedeploy.json └── db ├── api.json └── wedeploy.json
For simple services, all you need to include in your
wedeploy.json is an
id, but you can add any of the keys below to your configuration file.
WeDeploy does not deploy anything that is declared in your
.gitignore file as long this config file is in the same folder as your