Browse Source

install process

main
pvincent 5 days ago
parent
commit
3373fd40f0
  1. 21
      README.md

21
README.md

@ -1,17 +1,36 @@
# yamal
Yamal is a Ruby-on-Rails deployment tool, similar to Kamal but free from Docker(tm).
## install
### STEP 1 : login as root
```bash
# 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
```bash
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

Loading…
Cancel
Save