Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy Demo Environment #9

Open
agardnerIT opened this issue Oct 14, 2022 · 2 comments
Open

Easy Demo Environment #9

agardnerIT opened this issue Oct 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@agardnerIT
Copy link

I want to try this out. Make it as easy as possible for me.

Describe the solution you'd like
I'd love a browser-based demo where everything "just works" for me.


I (@agardnerIT) am happy to take this on and will develop a browser-based demo environment.

@agardnerIT agardnerIT added the enhancement New feature or request label Oct 14, 2022
@agardnerIT
Copy link
Author

Here's what I have so far, but I'm not really sure what hte tool is telling me...

# Assume an ubuntu box

# Install python3.10
add-apt-repository -y ppa:deadsnakes/ppa
apt install -y python3.10
echo alias python=/usr/bin/python3.10 >> ~/.bashrc && echo alias python3=/usr/bin/python3.10 >> ~/.bashrc
. ~/.bashrc

# install nodejs
wget https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.xz
tar -xf node-v16.18.0-linux-x64.tar.xz
mv node-v16.18.0-linux-x64/bin/node /usr/bin/node
mv node-v16.18.0-linux-x64/bin/npm /usr/bin/npx

# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
echo PATH=/root/.local/bin:$PATH >> ~/.bashrc
. ~/.bashrc

# Clone this repo
git clone https://github.com/dynatrace-oss/Kalm-Benchmark

# Install
cd ~/Kalm-Benchmark
poetry install

# Install Checkov
pip3 install checkov

# Run Website on 8501
nohup poetry run cli serve &

Then go to http://example.com:8501

@Magier
Copy link
Contributor

Magier commented Nov 21, 2022

Hi Adam,
thanks for the enhancement proposal.

Could you elaborate on what the tool is telling you, which you don't understand?

Also, this project can be run in a docker container. Have you tried building and executing it as such?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants