docs: add docker commands to local setup (#37287)

This commit is contained in:
Philip Goodbread 2019-10-16 12:18:42 +02:00 committed by mrugesh
parent 3c50f7651c
commit 1d6c43c612

View File

@ -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:**