From 0fa060292ca57099dc17a330a4e0d36940e923f6 Mon Sep 17 00:00:00 2001 From: Peter Kofler Date: Thu, 10 Oct 2024 16:26:43 +0200 Subject: [PATCH] Gitpod Cpp (copied) and PHP Setup --- .gitpod.dockerfile | 2 ++ .gitpod.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .gitpod.dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile new file mode 100644 index 00000000..f1e40beb --- /dev/null +++ b/.gitpod.dockerfile @@ -0,0 +1,2 @@ +FROM gitpod/workspace-mysql +RUN sudo apt-get -y update && sudo apt-get -y install libmysqlcppconn-dev diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..7e1cd9b1 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,31 @@ +image: + file: .gitpod.dockerfile + +ports: + - port: 1234 + onOpen: open-browser + name: CppEndpoint + description: Lift Pass Pricing Cpp Rest endpoint + visibility: public + - port: 8000 + onOpen: open-browser + name: PHPEndpoint + description: Lift Pass Pricing PHP Rest endpoint + visibility: public + - port: 3306 + onOpen: ignore + name: MySQL + description: MySQL connector port + visibility: public + +vscode: + extensions: + - streetsidesoftware.code-spell-checker + - DavidAnson.vscode-markdownlint + - Gruntfuggly.todo-tree + - llvm-vs-code-extensions.vscode-clangd + - twxs.cmake + - ms-vscode.cmake-tools + - bmewburn.vscode-intelephense-client + +workspaceLocation: '/workspace/Refactoring-Kata-Lift-Pass-Pricing/cpp'