Skip to content

Commit

Permalink
remove logic to create new .env in codespace
Browse files Browse the repository at this point in the history
change name for devcontainer
  • Loading branch information
Louis Low committed Sep 23, 2024
1 parent e501d89 commit 5e13a25
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-html/server-dotnet",
"name": "advanced-integration/html/dotnet",
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-html/server-java",
"name": "advanced-integration/html/java",
"image": "mcr.microsoft.com/devcontainers/java:21",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-html/server-node",
"name": "advanced-integration/html/node",
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-html/server-php",
"name": "advanced-integration/html/php",
"image": "mcr.microsoft.com/devcontainers/php:8",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": " advanced-integration/client-react/server-dotnet",
"name": " advanced-integration/react/dotnet",
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-react/server-java",
"name": "advanced-integration/react/java",
"image": "mcr.microsoft.com/devcontainers/java:21",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-react/server-node",
"name": "advanced-integration/react/node",
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "advanced-integration/client-react/server-php",
"name": "advanced-integration/react/php",
"image": "mcr.microsoft.com/devcontainers/php:8",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/post-commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ setup_backend() {
cd "$SERVER_DIR/node" && npm install
;;
java)
cd "$SERVER_DIR" && touch java/.env && cd java && mvn clean install
cd "$SERVER_DIR" && cd java && mvn clean install
;;
dotnet)
cd "$SERVER_DIR/dotnet" && dotnet restore
;;
php)
cd "$SERVER_DIR" && touch php/.env && cd php && composer install
cd "$SERVER_DIR" && cd php && composer install
;;
*)
echo "Unknown server: $VISIBLE_FOLDER_SERVER"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-html/server-dotnet",
"name": "standard-integration/html/dotnet",
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-html/server-java",
"name": "standard-integration/html/java",
"image": "mcr.microsoft.com/devcontainers/java:21",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-html/server-node",
"name": "standard-integration/html/node",
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-html/server-php",
"name": "standard-integration/html/php",
"image": "mcr.microsoft.com/devcontainers/php:8",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-react/server-dotnet",
"name": "standard-integration/react/dotnet",
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-react/server-java",
"name": "standard-integration/react/java",
"image": "mcr.microsoft.com/devcontainers/java:21",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-react/server-node",
"name": "standard-integration/react/node",
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more details, see https://aka.ms/devcontainer.json.
{
"name": "standard-integration/client-react/server-php",
"name": "standard-integration/react/php",
"image": "mcr.microsoft.com/devcontainers/php:8",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Use 'onCreateCommand' to run commands when creating the container.
Expand Down

0 comments on commit 5e13a25

Please sign in to comment.