Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.04 KB

File metadata and controls

54 lines (39 loc) · 1.04 KB

BGSI-GeneticAnalysisSupportPlatformIndonesia-GASPI

AMI Details for AWS based deployment

al2023-ami-2023.6.20241212.0-kernel-6.1-x86_64

Setting up environment in EC2 (Amazon Linux 2023)

Install necessary tools

RUN dnf update -y
RUN dnf install -y git docker

Start docker deamon and build the container

sudo service docker start
sudo usermod -a -G docker ec2-user
sudo docker build --build-arg PLATFORM=linux/amd64 -t gaspi .devcontainer

Start the container

sudo docker run --init --rm --privileged \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v `pwd`:`pwd` \
  -w `pwd` \
  --platform linux/x86_64 \
  -it gaspi:latest \
  /bin/bash

Clone Source Code

git clone https://github.com/GSI-Xapiens-CSIRO/BGSI-GeneticAnalysisSupportPlatformIndonesia-GASPI.git
git submodule init
git submodule update

Initialisation

Please run init.sh scripts in svep and sbeacon directories. Then run pnpm install from webgui/webapp directory.

Deployment

terraform apply