Commit b55453c0 authored by Mathieu's avatar Mathieu
Browse files

Add docker build instructions

parent e732092e
# openmole-connect
Connection portal for the OpenMOLE application
## Build & Run##
First, build the javascript:
Connection portal for the OpenMOLE multi-user application
It can be built and run locally or as a docker image.
## Locally
### Build the javascript:
```sh
$ cd openmole-connect
$ sbt
> go // Build the client JS files and move them to the right place
```
Then, start the server:
### Run the server
Simply start the server from the sbt prompt:
```sh
> jetty:start // Start the server
```
\ No newline at end of file
```
## Build & Run from Docker
### Build the image
```sh
$ cd openmole-connect
$ sbt application/docker:publishLocal
```
### Run the container
```sh
docker run --name connectApplication -p 7700:8080 openmole-connect:$VERSION
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment