Skip to content

draschke/vsc-sap-hana-mta-dev-env-node12x

Repository files navigation

Kick off your SAP HANA App Dev Env for running Hana-Cli (XSA & CF) by leverage VS Code Dev Container. Use this devcontainer for your projects if you want

Motivation

The approach of this project was to share the same required dev environment by using the same VS Code Dev Containers to make the start for new team members more easy and faster.

Prerequisites

XS Client for SAP HANA XSA (Only required for connecting a XSA platform)

Download the XS_CLIENT00P_xxx-70001320 for Linux from SAP Download Center

Use WSL (Ubuntu)

Drop the unzipped XS_CLIENT00P file on root
XS Client
Change the path in your .devcontainer\Dockerfile

  • (ENV XSCLI="/workspaces/vsc-sap-hana-mta-dev-env-node12x/XS_CLIENT00P_134-70001320)

Change the permission by running your WSL - Distro with the chmod command.

node ➜ /workspaces/vsc-sap-hana-mta-dev-env-node12x/XS_CLIENT00P_134-70001320/bin (docs ✗)
$ chmod -R +x xs
node ➜ /workspaces/vsc-sap-hana-mta-dev-env-node12x/XS_CLIENT00P_134-70001320/sapjvm_8_jre/ (docs ✗)
$ chmod -R +x bin

After that you can build the Dev Container by clicking the Remote Status bar. Only for the first time the building of the Dev Container takes about 10 minutes, but then in no time!

Hints

Running project in WSL (Ubuntu)

  • For performance reason run the project in the Linux file system (~/home)
  • You'll find your Linux home directory on Windows here:
\\wsl$
\\wsl$\Ubuntu-20.04\home\
code --install-extension "christian-kohler.path-intellisense"
code --install-extension "christian-kohler.npm-intellisense"
...

This VS Dev Container includes

OS

  • OS Debian

CLIs

VS Code Extensions

  • A lot of nice extensions

NPMs for CAP & Fiori Dev

My tutorials with VS Code Dev Container

Microsoft - VS Code Dev Container

Nice blog "SAP CAP VS Code dev container" written by @htammen

HANA CLI by @jung-thomas

Contributing

  • Contribute or provide feedback for this repo
  • Consider to use Discussions
  • Search existing issues or report a problem

License

Copyright (c) 2021 Dirk Raschke. All rights reserved. This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published