In gitpod terminal (Ctrl + Shift + P) Paste this
curl -kL https://gist.github.com/CypherpunkSamurai/4c01d5b059c424db4509614aa1114b61/raw/bb6e24732be6e7e1590c87504bd0843788650d3c/intelowl_gitpod_install.sh | sh
| #!/bin/bash | |
| echo Installing packages.... | |
| sudo apt-get install -yq libsasl2-dev python-dev libldap2-dev libssl-dev \ | |
| libfuzzy-dev | |
| echo Formatting Code... | |
| pip3 install black | |
| black . --exclude "migrations|venv" | |
| flake8 . --show-source --statistics | |
| isort --profile black --filter-files --skip venv . | |
| echo Installing packages | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| pip install pre-commit | |
| pre-commit install | |
| pip install -r requirements.txt | |
| echo Requirements for IntelOwl | |
| unzip -o -P infected tests/test_files.zip -d . | |
| cp docker/env_file_app_template docker/env_file_app | |
| cp docker/env_file_postgres_template docker/env_file_postgres | |
| cp docker/env_file_integrations_template docker/env_file_integrations | |
| sudo chmod u+x docker/scripts/coverage_test.sh | |
| echo Ready.... |