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.
pvincent ad38dfc645 tagged as 0.0.4 5 days ago
lib pull repo do clone + force 4 weeks ago
yamal.d working bin 2 months ago
.semver_git_tag tagged as 0.0.4 5 days ago
LICENSE Initial commit 2 months ago
README.md install process 5 days ago
setup-prod.bash normalize_project_name bis 4 weeks ago

README.md

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