fix(docs): Update troubleshooting and include docker commands (#36070)

* fix(docs): Update troubleshooting and include docker commands

* fix: Streamline wording
This commit is contained in:
Oliver Eyton-Williams
2019-05-24 00:42:34 +02:00
committed by Manish Giri
parent cdd69f4c91
commit f8a4994257

View File

@@ -474,23 +474,29 @@ If you are stuck, and need help, let us know by asking in the ['Contributors' ca
There might be an error in the console of your browser or in Bash / Terminal / Command Line that will help identify the problem. Provide this error message in your problem description so others can more easily identify the issue and help you find a resolution.
### Troubleshooting
If the app launches but you are encountering errors with the UI itself, for example if fonts are not being loaded or if the code editor is not displaying properly, you may try the following troubleshooting steps at least once:
If the app launches but you are encountering UI errors such as fonts not being loaded or the code editor not displaying properly, see the following depending on your local setup:
**Docker Build:**
```sh
# We use a mono repo and have multiple components (server, client, tools, plugins, etc.)
# Use this command to clean up all dependencies in all of the components
npm run clean
npm run docker:clean
# Reinstall npm packages
npm install
# Bootstrap the project
npm run bootstrap
npm run docker:install
# Seed the database
npm run seed
npm run docker:seed
# Restart the application
npm run docker:develop
```
**Local Build:**
```sh
npm run clean
npm ci
npm run seed
npm run develop
```