Added postCreateCommand

This commit is contained in:
Chuck Lantz
2019-04-25 10:24:38 -07:00
parent 487d01bec0
commit badcb93364
2 changed files with 3 additions and 3 deletions

View File

@@ -4,5 +4,6 @@
"appPort": 3000, "appPort": 3000,
"extensions": [ "extensions": [
"ms-vscode.vscode-typescript-tslint-plugin" "ms-vscode.vscode-typescript-tslint-plugin"
] ],
"postCreateCommand": "yarn install"
} }

View File

@@ -10,7 +10,7 @@ One you have this sample opened in a container, you'll be able to work with it l
Some things to try: Some things to try:
1. **Use a Terminal to install needed dependencies:** 1. **Use a Terminal run a command:**
1. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>\`</kbd> to open a terminal window 1. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>\`</kbd> to open a terminal window
2. Type `yarn install` 2. Type `yarn install`
3. The command will run even if you don't have yarn installed locally! 3. The command will run even if you don't have yarn installed locally!
@@ -43,7 +43,6 @@ Follow these steps to open this sample in a container:
2. Press <kbd>F1</kbd> and select the **Remote-Container: Open Folder in Container...** command. 2. Press <kbd>F1</kbd> and select the **Remote-Container: Open Folder in Container...** command.
3. Select the cloned copy of this folder, wait for the container to start, and try things out! 3. Select the cloned copy of this folder, wait for the container to start, and try things out!
3. Press <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>\`</kbd> to open a terminal window and run `yarn install`
## Contributing ## Contributing