Skip to content

Instantly share code, notes, and snippets.

@wilyJ80
Last active June 18, 2024 15:59
Show Gist options
  • Save wilyJ80/516bfb708a230bc642df051e8b64a373 to your computer and use it in GitHub Desktop.
Save wilyJ80/516bfb708a230bc642df051e8b64a373 to your computer and use it in GitHub Desktop.
plasticome notes

Plasticome Docker ArchLinux

  • install python3.10

  • TODO: Install correct python version

pacman -Sy python3 --noconfirm

  • Create user, to use yay
useradd -m -s /bin/bash newuser
echo 'newuser:password' | chpasswd  # Replace 'password' with the desired password
pacman -Sy sudo --noconfirm
echo 'newuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

su - newuser

sudo pacman -Syu base-devel git --noconfirm
cd ~
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
  • Install BLAST binary AUR package:

yay -S blast+-bin --noconfirm

  • TODO: get BLAST from link instead

add to path

echo 'export BLAST_PATH=/usr/bin' >> ~/.bashrc
echo 'export PATH="$BLAST_PATH:$PATH"' >> ~/.bashrc
source ~/.bashrc

sudo pacman -Sy poetry openssl expat --noconfirm

cd ~
git clone https://github.com/G2BC/plasticome-backend
cd plasticome-backend
  • REQUIREMENTS:
  • change pyproject.toml run task to "./run_task.sh", and chmod it

sudo pacman -Sy docker --noconfirm

mv .env.example .env

TODO: to be continued ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment