This template is using
ES6+
(recommended)Rollup
for bundle and convert to CJS formatFoxx-cli
to deploy
- A (local) ArangoDB instance
Get a copy of this repository
npx degit samzlab/arangodb-foxx-rollup-starter
Install dependencies
npm install
Update the scripts (arango:install
and arango:update
) in the package.json
- database placeholder:
my-database
- mount path placeholder:
/my-service-mount-path
Other options can be found in the Foxx CLI repository at https://github.com/arangodb/foxx-cli.
Update the src/manifest.json
file to your needs
- Edit your lifecycle scripts in
src/manifest.json
- Edit your service code in
src/
- ...
npm run arango:install
or if you are updating the service, then
npm run arango:update