Hands-On Server-Side Web Development with Swift
上QQ阅读APP看书,第一时间看更新

Option 2 – cloning Vapor packages manually

Optionally, you can add Vapor's APT repository manually if you have a problem using the script approach in the previous section:

# Step 2a: Add Vapor APT repo manually (optional)
$ wget -q https://repo.vapor.codes/apt/keyring.gpg -O- | sudo apt-key add -
echo "deb https://repo.vapor.codes/apt $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vapor.list
$ sudo apt-get update