Clone this repo and run swift build to download the dependencies, then run .build/debug/MyApp
View Vapor for documentation.
Swift 2.2 or later is required.
Works on Ubuntu.
To deploy to Ubuntu 14.04 LTS (without Swift installed on remote server).
- Compile program on Ubuntu 14.04 (Swift must be installed on this computer)
- Copy program from
.build/[debug,release]/VaporAppintoDeploy/VaporApp - Copy contents of
Deployfolder to remote Ubuntu 14.04 server (the folder contains all shared libs needed for running) - Run
./run.sh