- Make sure to have
sqlite3
installed (see Install SQLite bellow) - Run
swift package update
to download dependencies - Run
swift build
to build the example application - Execute the program
.build/debug/FluentApp
View Fluent for documentation.
Swift 3.0 or later is required.
Install the sqlite3
package. It's recommended to use a package manager:
On macOS use brew:
brew install sqlite3
On Ubuntu use apt-get
sudo apt-get update
sudo apt-get install sqlite3 libsqlite3-dev
Works on macOS and Ubuntu.