Update comments (CI Ignore)
This commit is contained in:
Родитель
85a9a2e349
Коммит
f415b231f7
|
@ -33,7 +33,7 @@
|
|||
"forwardPorts": [8080, 3306]
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "sudo rm -rf /var/www/html && sudo ln -s . /var/www/html",
|
||||
// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
|
||||
|
||||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||||
// "remoteUser": "vscode"
|
||||
|
|
|
@ -70,8 +70,14 @@ Apache will be available on port `8080`.
|
|||
|
||||
If you want to wire in something directly from your source code into the `www` folder, you can add a symlink as follows to `postCreateCommand`:
|
||||
|
||||
```json
|
||||
"postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
|
||||
```
|
||||
|
||||
...or execute this from a terminal window once the container is up:
|
||||
|
||||
```bash
|
||||
sudo rm -rf /var/www/html && sudo ln -s . /var/www/html
|
||||
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
|
||||
```
|
||||
|
||||
### Adding the definition to your project
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"forwardPorts": [8080]
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "sudo rm -rf /var/www/html && sudo ln -s . /var/www/html",
|
||||
// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
|
||||
|
||||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
||||
// "remoteUser": "vscode"
|
||||
|
|
|
@ -62,8 +62,14 @@ Apache will be available on port `8080`.
|
|||
|
||||
If you want to wire in something directly from your source code into the `www` folder, you can add a symlink as follows to `postCreateCommand`:
|
||||
|
||||
```json
|
||||
"postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
|
||||
```
|
||||
|
||||
...or execute this from a terminal window once the container is up:
|
||||
|
||||
```bash
|
||||
sudo rm -rf /var/www/html && sudo ln -s . /var/www/html
|
||||
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
|
||||
```
|
||||
|
||||
### Adding the definition to your project
|
||||
|
|
Загрузка…
Ссылка в новой задаче