generated from skitsanos/foxx-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
20 lines (20 loc) · 1.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "foxx-api",
"version": "2.0.20220626",
"description": "Foxx API Services",
"main": "src/index.js",
"author": "Skitsanos",
"license": "MIT",
"private": true,
"scripts": {
"docker:start": "docker compose -p foxx-backend -f docker-compose.yml up -d",
"docker:setup-db": "docker exec -it arangodb-dev arangosh --server.username root --server.password openSesame --javascript.execute-string \"db._createDatabase('dev',{},[{username: 'dev', passwd: 'sandbox', active: true}]);\"",
"docker:backup": "docker exec -it arangodb-dev arangodump --overwrite true --server.database dev --server.username root --server.password openSesame --output-directory /backup",
"docker:restore": "docker exec -it arangodb-dev arangorestore --server.database dev --server.username root --server.password openSesame --input-directory /backup",
"register-foxx-dev-server": "foxx server set dev http://dev:sandbox@localhost:8529",
"install-foxx-dev": "foxx install /api . --server dev --database dev",
"replace-foxx-dev": "foxx upgrade /api . --server dev --database dev",
"test": "docker run --network host --rm -it -v \"$(pwd)/.api-test\":/app \"orangeopensource/hurl:latest\" --test --variables-file /app/.vars /app/*.hurl"
},
"dependencies": {}
}