1.8K
To get started developing copy configuration/example-configuration.json to
configuration/development-configuration.json and edit as required.
> docker-compose up
This will start the API and db containers. It will automatically run npm install in api folders so you don't need to.
Saving API code triggers auto reload.
dps | grep api | awk '{print $1}'docker exec -it ${CONTAINER ID} bashnpm run test:watchWhen you save a test file the tests will re-run automatically. Saving a changed code file (ie not a test file) does not re-run the tests.
Content type
Image
Digest
sha256:97a6f6103…
Size
120.7 MB
Last updated
over 2 years ago
docker pull arkisto/oni-api