Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 996 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 996 Bytes

README

LICENSE

This project is licensed under the terms of the MIT license. More details in the LICENSE file.

Server

Run

To build and run the application:

  1. swift build
  2. .build/debug/Run

Iterative Development

The iterative-dev.sh script is included in the root of the generated Swift project and allows for fast & easy iterations for the developer. Instead of stopping the running Kitura server to see new code changes, while the script is running, it will automatically detect changes in the project's .swift files and recompile the app accordingly.

To use iterative development:

  • For native OS, execute the ./iterative-dev.sh script from the root of the project.
  • With docker, shell into the tools container mentioned above, and run the ./swift-project/iterative-dev.sh script. File system changes are detected using a low-tech infinitely looping poll mechanism, which works in both local OS/filesystem and across host OS->Docker container volume scenarios.