- Hands-On Server-Side Web Development with Swift
- Angus Yeung
- 76字
- 2021-06-10 19:00:18
Running your Kitura app from a Terminal
When the building process finishes, you are ready to launch the app server and test it with a web browser or the curl command in the Terminal.
Launch the debug version of your helloWorld app:
# Step 2a: Run the app from Terminal
$ .build/debug/helloWorld
Alternatively, you can run the swift run command to launch the application:
# Step 2b: Run the app from Terminal
$ swift run