kitura

Run Kitura Docker Image causes libmysqlclient.so.18 Error

空扰寡人 提交于 2020-01-05 04:39:06
问题 after i had some previous problem to Dockerise my MySQL Kitura SETUP here : Docker Build Kitura Sqift Container - Shim.h mysql.h file not found I am running in a new Problem i can not solve following the Guide from : https://www.kitura.io/docs/deploying/docker.html . After i followed all the steps and also did the fixing on the MySQL issue previously i was now able to run the following command : docker run -p 8080:8080 -it myapp-run THis however leads to the following issue : error while

httpAdditionalHeaders not working on linux

痴心易碎 提交于 2020-01-04 03:50:40
问题 I ran into a problem of different behaviour of URLSession / URLSessionConfiguration / URLSessionDataTask on OS X and Linux. Swift: 3.0.2 Kitura: 1.3 I am doing following: let aURL = URL(string: "...")! // Because shared is not implemented let sessionConfig = URLSessionConfiguration.default sessionConfig.httpAdditionalHeaders = ["Accept": "application/json", "Accept-Language": "sv-SE"] let session = URLSession(configuration: sessionConfig) // additionalHeaders are set just fine Log.info("\

Docker Build Kitura Sqift Container - Shim.h mysql.h file not found

无人久伴 提交于 2019-12-13 02:55:32
问题 i am trying to move my current Kitura Dev setup into a real running environment by first moving it into a Docker Container to later migrate it to a Cloud Provider. However while trying to build my Docker Setup for Kitura i run into problems i did not find any proper solution how to fix these. I am Building my docker Container from The instructions from this page https://www.kitura.io/docs/deploying/docker.html But i am also using SwiftKuery with MySQL in the package. My Docker Tools file

Connecting to Oracle Database Using Server Side Swift

99封情书 提交于 2019-12-11 07:28:12
问题 Is it possible yet to connect to an Oracle Database using Swift (raw or a Swift framework) on Linux? What I have done is tried to build a Docker VM, install the Oracle binaries, add the OCILIB package and then connect [tried] using a package called SwiftOracle, which seems unsupported (lots of build issues) and just exposes the OCILIB C code to Swift using a module map and wrapper. I tried this using the Kitura framework and none of this seemed to work - Xcode can't compile because it isn't