Skip to content

Documentation

Dawand Sulaiman edited this page Jul 10, 2017 · 1 revision

Welcome to the MobileEdgeCloud wiki!

Client

You can open the MobileCloud Xcode project and browse the files in different folders. The framework is written in Swift with few Objective-C third part libraries.

The main files are

##TBD

Server

There are two ways that you can install the server side depending on your needs:

  1. Dockerfile: You can build the provided dockerfile which fetches a pre-built container serving a Vapor web socket to serve the text search client requests.
    First copy the Dockerfile to a folder in your server and build it
    docker build -t mec-container .

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

  2. Build your own container: 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 documentations to understand the server side code and customise it to your applications.

Clone this wiki locally