cchurch / api-docs

Eagle Eye Networks API Documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Documentation

This directory holds the HTML, CSS JQuery/JS and Markdown as well as Docker configuration files responsible for hosting or building the EEN API Documentation

Dependencies

The Environment(s) depends on the following to be installed:

Post installation

Linux

By default docker.service is root only, this can be resolved by adding the user to the docker group

sudo groupadd docker
sudo usermod -aG docker $USER

Please read the documentation for further troubleshooting

Running the Development Environment

# one time rename to implement the override file holding the development env config
mv docker-compose.override.yml.dev docker-compose.override.yml

# only needed here if docker-compose has not been correctly stopped, use after each `docker-compose up`
docker-compose down

# build the docker image
docker-compose build

# execute the docker image
docker-compose up

NOTE: Middleman was not designed to run on virtual clients or within docker and might sometimes display irregular behavior

Running the Production Environment

# only needed here if docker-compose has not been correctly stopped, use after each `docker-compose up`
docker-compose down

# build the docker image
docker-compose build

# execute the docker image, this will show output in current window
docker-compose up

    # this will run in detach mode, use in place of `docker-compose up`
    docker-compose up -d

# list containers
docker ps

# shell into the container
docker exec -it <container> /bash

# fetch the logs from the container
docker logs -f <container>

About

Eagle Eye Networks API Documentation

License:Other


Languages

Language:JavaScript 89.1%Language:CSS 8.5%Language:Shell 1.2%Language:HTML 0.7%Language:Ruby 0.5%