From 1d6c43c612fbb8cc4d7f76d0ab07f63eb59a9960 Mon Sep 17 00:00:00 2001 From: Philip Goodbread Date: Wed, 16 Oct 2019 12:18:42 +0200 Subject: [PATCH] docs: add docker commands to local setup (#37287) --- docs/how-to-setup-freecodecamp-locally.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/how-to-setup-freecodecamp-locally.md b/docs/how-to-setup-freecodecamp-locally.md index 39425d9d5e..6e8aed2e68 100644 --- a/docs/how-to-setup-freecodecamp-locally.md +++ b/docs/how-to-setup-freecodecamp-locally.md @@ -285,7 +285,18 @@ A quick reference to the commands that you will need when working locally. **Docker Build:** -> ### Todo: Add docker quick command list +| command | description | +| ------- | ----------- | +| `npm run docker:init` | Prepare containers for installation of dependencies. | +| `npm run docker:install` | Install / re-install all dependencies and bootstraps the different services. | +| `npm run docker:seed` | Parse all the challenge markdown files and inserts them into MongoDB. | +| `npm run docker:develop` | Start the freeCodeCamp API Server and Client Applications. | +| `npm run docker:test:init` | Bootstrap the test container, necessary for testing in docker. | +| `npm run docker:test -- -c "npm run test` | Run all JS tests in the system, including client, server, lint and challenge tests. | +| `npm run docker:test -- -c "npm run test:curriculum` | Run the curriculum test suite. | +| `npm run docker:test -- -c "npm run test:client` | Run the client test suite. | +| `npm run docker:test -- -c "npm run test:server` | Run the server test suite. | +| `npm run docker:clean` | Uninstall all dependencies and cleans up caches. | **Local Build:**