Sign inSign up

oaklabs/app-example

By oaklabs

•Updated about 6 years ago

A simple example application

Image
0

1.4K

oaklabs/app-example repository overview

⁠app-example

release node electron Coverage Status Standard - JavaScript Style Guide

An example app that is descibed in more detail at https://docs.zivelo.com/docs/writing-a-simple-application⁠

Sample. Not to be used for production deployments

⁠Running locally

Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc file If you are not running the same version (node -v) then you will need to run

nvm install $(cat .nvmrc)
npm run rebuild
⁠Now you can run electron locally
npm run dev
⁠Running and building in a docker container
xhost +
docker-compose up --build
⁠Running a docker container again
docker-compose up
⁠Shutting down the docker container
# and to stop
Control + c
Control + c
docker-compose down

Make sure to bring docker-compose down every time you run docker-compose up

⁠Example Installation

{
  "services": [
    {
      "image": "index.docker.io/oaklabs/app-example:latest",
      "environment": {
        "TZ": "America/Phoenix"
      }
    }
  ]
}

Tag summary

Content type

Image

Digest

Size

600.9 MB

Last updated

about 6 years ago

docker pull oaklabs/app-example