Skip to content

A server container with Swift environment and a Vapor websocket server to handle requests from Mobile Cloud Applications

Notifications You must be signed in to change notification settings

dawand/SwiftServerContainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftServerContainer

A server container with Swift environment and a Vapor websocket server to handle requests from MAMoC (https://github.com/dawand/MAMoC) client applications

There are two ways to install the server component:

  1. Dockerfile: You can use Docker to build the provided dockerfile which fetches a pre-built container including a web socket to serve the client requests.
    First copy the Dockerfile to a folder in your server and build it
    docker build -t mamoc-container .

    After the image is fetched, you can run it:
    docker run --privileged -i -t --name myContainer -p 80:8080 mamoc-container

  2. Build your own: You can setup Swift environment on your server and copy the MEC-Container folder to the desired location. You can customise the server based on your needs. Have a look at Vapor and WebSocket code to understand the server side code and customise it to your applications.

About

A server container with Swift environment and a Vapor websocket server to handle requests from Mobile Cloud Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published