You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
919 B
919 B
yamal
Yamal is a Ruby-on-Rails deployment tool, similar to Kamal but free from Docker(tm).
install
STEP 1 : login as root
# login as root
apt install -y git curl
curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install.sh | bash -s &>/dev/null
addgroup --system ssh
useradd -ms /bin/bash -G sudo,ssh yamal
passwd yamal # define your password, HERE!
cat > /etc/sudoers.d/yamal_as_admin <<EOF
yamal ALL=(ALL:ALL) ALL
EOF
chmod 750 /home/yamal
STEP 2 : login as yamal
sudo -iu yamal
git clone https://git.artcode.re/rails/yamal.git $HOME/bin
grep -q 'PATH=\$PATH:\$HOME/bin' $HOME/.bashrc || cat >> $HOME/.bashrc <<EOF
PATH=\$PATH:\$HOME/bin
EOF
source $HOME/.bashrc
echo YAMAL is now ready to deploy new RoR apps!
TODO
- try out on Arch
- try out on Fedora
- dependencies introspection
- postgresql
- sqlite
- redis