https://github.com/cybercentrecanada/assemblyline-development-setup
Assemblyline 4 repo used for setting up a development environment
https://github.com/cybercentrecanada/assemblyline-development-setup
assemblyline malware-analysis
Last synced: about 1 year ago
JSON representation
Assemblyline 4 repo used for setting up a development environment
- Host: GitHub
- URL: https://github.com/cybercentrecanada/assemblyline-development-setup
- Owner: CybercentreCanada
- Created: 2021-08-20T19:14:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T16:51:40.000Z (about 2 years ago)
- Last Synced: 2025-04-04T18:38:41.461Z (about 1 year ago)
- Topics: assemblyline, malware-analysis
- Language: Shell
- Homepage: https://cybercentrecanada.github.io/assemblyline4_docs/
- Size: 97.7 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assemblyline 4 - Dev environment setup
This repo will setup everything required to do development on Assemblyline 4 using VSCode. It will setup for you the following things:
- Install VSCode via snap
- Install AL4 development dependencies
- Create a virtual python environment for your project
- Create Run targets inside VSCode for all core components and other important scripts
- Create Tasks inside VSCode for development using Docker-Compose
- Setup our code formatting standards
- Deploy a local Docker registry on port 32000
- (*Optional*) Load the code for all services in the git/services directory by using the `-s` flag. **This is not recommended, use only if you really need to.**
- (*Optional*) If you prefer to run VSCode on your host and not on the dev machine/VM remove the `-c` flag so VSCode does not get installed. You'll have to install VSCode yourself on your desktop and connect to your dev environment via SSH.
We recommend installing the VSCode extensions needed to use this environment once VSCode is launched in the workspace.
## Pre-requisites
The setup script assumes the following:
- You are running this on a Ubuntu 20.04+ machine or VM with at least 4 cores and 8 GB of Ram.
- You have read the setup_vscode.sh script, this script will install and configure packages for ease of use.
- **If you are uncomfortable which some of the changes that it makes, you should comment them before running the script.**
## Installation instruction
#### Create your git directory
mkdir -p ~/git
#### Clone repo
cd ~/git
git clone https://github.com/CybercentreCanada/assemblyline-development-setup alv4
#### Run setup script
cd ~/git/alv4
./setup_vscode.sh -c
## Post-installation instructions
When first launching VSCode, we strongly advise installing the recommended extensions when prompted or typing '@recommended' in the Extensions tab. This ensures that you take full advantage of this setup.