Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.22 KB

Readme.md

File metadata and controls

41 lines (30 loc) · 1.22 KB

Sanpete Pantry

Table of Contents


  1. Introduction
  2. Config & Setup

Introduction

logo

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

Config & Setup Notes

  • Logged in as root:
    • apt install docker.io
    • apt install docker-compose
    • apt install snapd
    • snap install core
    • useradd -m -g users pantry
    • passwd pantry
    • sudo usermod -aG docker pantry
    • systemctl start docker
    • systemctl enable docker
    • sudo 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.

Workflow File