/example-trevi-lime

An example project for Lime(Swift web framework)

Primary LanguageSwiftApache License 2.0Apache-2.0

LimeExample

Swift 2.2 Mac OS X Ubuntu Apache 2

Overview

An example project for Lime. See instructions for installation & usage on Lime.

Swift version

Trevi works with the latest version of Swift 2.2 Snapshot. You can download Swift binaries on here.

Usage

  1. Build this example :

    • Mac OS X :
       swift build -Xcc -fblocks -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib
    • Ubuntu :
       swift build -Xcc -fblocks
  2. Execute the result excutable is located in .build/debug :

    ./.build/debug/LimeExample
  3. Open your browser at http://localhost:8080

  4. You should see message Listening on port 8080

Versioning

TreviSys follows the semantic versioning scheme. The API change and backwards compatibility rules are those indicated by SemVer.

License

This library is licensed under Apache 2.0. Full license text is available in LICENSE.