[Ubuntu GNU/Linux 16.04] git clone Perfect-template

by ggt667
macOS ◆ xterm-256color ◆ bash 499 views

Curated version of the asciinema below:

sudo apt-get install openssl libssl-dev uuid-dev git tmux vim libcurl4-openssl-dev libxml2-devswift build clang libicu-dev
curl -LO https://swift.org/builds/swift-4.2.1-release/ubuntu1604/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu16.04.tar.gz
tar -zxvf swift-4.2.1-RELEASE-ubuntu16.04.tar.gz
echo "export PATH=/home/user/swift-4.2.1-RELEASE-ubuntu16.04/usr/bin:\"\${PATH}\"" >> .bashrc
. ./.bashrc
echo $PATH
sudo mkdir -p /opt/local/dev
cd /opt/local/
sudo chown -R user:user dev/
cd /opt/local/dev/
git clone https://github.com/PerfectlySoft/PerfectTemplate
cd PerfectTemplate/
swift build
./.build/x86_64-unknown-linux/debug/PerfectTemplate&
curl localhost:8181