All Projects → IBM-Swift → Kitura-HelloWorld-iOS

IBM-Swift / Kitura-HelloWorld-iOS

Licence: Apache-2.0 license
A Hello World example of running Kitura on iOS

Programming Languages

swift
15916 projects
shell
77523 projects
Makefile
30231 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Kitura-HelloWorld-iOS

WebServer
Powershell WebServer is a Powershell module that starts a webserver (without the need for IIS)
Stars: ✭ 27 (-50.91%)
Mutual labels:  webserver
kitura-cli
⌨️ Kitura command-line interface
Stars: ✭ 13 (-76.36%)
Mutual labels:  kitura
Teapot
Teapot micro web framework for Pharo Smalltalk
Stars: ✭ 86 (+56.36%)
Mutual labels:  webserver
SpotifyWebApi
A .net core wrapper for the Spotify Web API
Stars: ✭ 19 (-65.45%)
Mutual labels:  webserver
stirfry
StirFry is a self contained and lightweight web framework for nodejs
Stars: ✭ 24 (-56.36%)
Mutual labels:  webserver
Anti-DDOS-Script
Anti DDOS Protection that will stop DDOS from taking down your Linux Server
Stars: ✭ 51 (-7.27%)
Mutual labels:  webserver
django-http2-middleware
⚡️Django middleware to automatically send preload headers before views runs, enabling faster HTTP2 server-push (with CSP support).
Stars: ✭ 65 (+18.18%)
Mutual labels:  webserver
go-echo-server-sandbox
A scaffold of golang web server using labstack/echo
Stars: ✭ 12 (-78.18%)
Mutual labels:  webserver
initial-webserver-setup
Ansible playbook for initial ubuntu 16.04 webserver setup and Laravel zero time deployment
Stars: ✭ 50 (-9.09%)
Mutual labels:  webserver
rpi-nginx
[DEPRECATED] NGINX on Raspberry Pi / ARM
Stars: ✭ 20 (-63.64%)
Mutual labels:  webserver
KituraKit
Swift client library for using Codable routes with Kitura
Stars: ✭ 58 (+5.45%)
Mutual labels:  kitura
wnmp-dev
Development environment: Windows + nginx + MySQL + PHP
Stars: ✭ 52 (-5.45%)
Mutual labels:  webserver
heartbeat
A service to keep a live heartbeat (ping) on multiple devices
Stars: ✭ 27 (-50.91%)
Mutual labels:  webserver
khudro
Khudro is a very light weight web-server built with C.
Stars: ✭ 19 (-65.45%)
Mutual labels:  webserver
bookish spork
Erlang library for testing http requests
Stars: ✭ 82 (+49.09%)
Mutual labels:  webserver
fcgi-function
A cross-platform module to writing C/C++ service for nginx.
Stars: ✭ 33 (-40%)
Mutual labels:  webserver
embedio-extras
Additional Modules showing how to extend EmbedIO.
Stars: ✭ 43 (-21.82%)
Mutual labels:  webserver
internetarchivebot
iabot.toolforge.org
Stars: ✭ 67 (+21.82%)
Mutual labels:  webserver
ruby wolf
Tiny ruby web server for research and studying purpose
Stars: ✭ 19 (-65.45%)
Mutual labels:  webserver
phpkoa
PHP异步编程: 基于 PHP 实(chao)现(xi) NODEJS web框架 KOA。
Stars: ✭ 52 (-5.45%)
Mutual labels:  webserver

Kitura Builder for iOS

Kitura/iOS Hello World

Build Status macOS iOS Apache 2 codebeat badge  Slack Status

Simple Hello World Kitura Application (Server Side) embedded in an iOS app (Client Side). The app demonstrates starting and stopping Kitura server, and presents Kitura log on the screen.

Publications

Quick Instructions

(Last tested on macOS Mojave 10.14 and Xcode 10.1)

  1. Setup (run in a terminal). The following commands install Xcode command line tools, Ruby Xcodeproj gem, download curl 7.43.0 source code and compile it. You may want to download and compile some other version of curl or to compile it using some other script, for example https://github.com/gcesarmza/curl-android-ios.
xcode-select --install
sudo gem install xcodeproj

git clone https://github.com/IBM-Swift/Kitura-HelloWorld-iOS.git
cd Kitura-HelloWorld-iOS
make Builder/Makefile

curl -O https://curl.haxx.se/download/curl-7.43.0.tar.bz2
bzip2 -d curl-7.43.0.tar.bz2; tar xopf curl-7.43.0.tar; rm -r curl-7.43.0.tar
bash ./Builder/Scripts/buildCurlStaticLibrary.sh curl-7.43.0

Troubleshooting on Mojave: if the last command above fails, follow the instructions in curl/curl#3189 (comment).

  1. The following command will fetch the submodules, update them, generate an Xcode project for the Server Side part and generate an Xcode workspace for the End-to-End project.

For 64Bit (example, iPhone 5s or newer, iPad Air or newer, iPad Mini 2 or newer, iPad Pro or newer)

make openXcode

For 32Bit (example, iPhone 5, 5c, iPad 4)

make openXcode32
  1. Open EndToEnd.xcworkspace
  2. Change scheme to "ClientSide"
  3. Load on iPhone or iPhone simulator
  4. On the running app, turn on the toggle switch above the QR code
  5. On another device, connect to the listed URL

Quick Instructions for Updating the Project

  1. git pull to get the latest version of Kitura
  2. Remove the Builder directory
  3. run make openXcode or make openXcode32

Command Line Tests

Run make test

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].