English translation is progressing.
Ajou Print-on-Air
allows you print in ajou-u public printer with Mac.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/khskeb0513/ajou-print-on-air/master/install.sh)"
You must install node.js and ghostscript.
Homebrew, pm2, git is optional.
Setting env file is essential.
# install git
git
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install node and ghostscript
# If you don't have homebrew, you have to install dependencies manually.
brew install node ghostscript
# install pm2
# pm2 is for run in background.
npm install -g pm2
# clone project
# If you don't have git, you have to download entire project.
git clone https://github.com/khskeb0513/ajou-print-on-air
# make env.yml file
# To set username.
cd ajou-print-on-air
touch env.yml
echo ""
echo -n "Phone number: " && read NICKNAME
echo "nickname: '$NICKNAME'" > env.yml