If you continue to work on your Foxx service and want to upgrade the installed version with your local changes use the upgrade command to do so.

foxx upgrade /hello-foxx # upgrades the server with the current directory

Special files

manifest.json

The manifest.json or manifest file contains a service’s meta-information. For
more information on the manifest format, see the
official ArangoDB documentation.

The directory containing a service’s manifest.json file is called the root
directory of the service.

foxxignore

If you want to exclude files from the service bundle that will uploaded to
ArangoDB you can create a file called .foxxignore in the root directory of
your service. Each line should specify one pattern you wish to ignore:

Patterns starting with ! will be treated as an explicit whitelist. Paths
matching these patterns will not be ignored even if they would match any of
the other patterns.

Example: !index.js will override any pattern matching a file called
index.js.

Patterns starting with / will only match paths relative to the service’s
root directory.

Example: /package.json will not match node_modules/joi/package.json.

Patterns ending with / will match a directory and any files inside of it.

Example: node_modules/ will exclude all node_modules directories and
all of their contents.

A single * (glob) will match zero or more characters (even dots) in a file
or directory name.

Example: .* will match any files and directories with a name starting
with a dot.

A double ** (globstar) will match zero or more levels of nesting.

Example: hello/**/world will match hello/world, hello/foo/world,
hello/foo/bar/world, and so on.

Patterns starting with # are considered comments and will be ignored.

For more details on the pattern matching behavior, see the documentation of the
minimatch module (with the dot flag
enabled).

If no .foxxignore file is present in the service’s root directory the
following patterns will be ignored automatically: .git/, .svn/, .hg/,
*.swp, .DS_Store.

Should you need to include files that match these patterns for some reason, you
can override this list by creating an empty .foxxignore file.

You can also create a .foxxignore file in the current directory using the
ignore command: