Sanpete Pantry is the Food Pantry for Sanpete County and is dedicated to eliminating hunger in Sanpete County. This is the repository for our public website: Visit here
- Logged in as root:
apt install docker.ioapt install docker-composeapt install snapdsnap install coreuseradd -m -g users pantrypasswd pantrysudo usermod -aG docker pantrysystemctl start dockersystemctl enable dockersudo snap install powershell --classic- edit /etc/ssh/sshd_config, add line
AllowUsers pantry
- Restart your shell, log in as pantry
docker run hello-world(just to test things out and make sure docker is running)docker ps(make sure you're in the docker user group)mkdir /home/pantry/scripts
- Now you're ready to have the GitHub action deploy to the server.
