Skip to content

Commit

Permalink
README.md update (#78)
Browse files Browse the repository at this point in the history
* Merge pull request #70 from SkalskiP/develop (#71)

* new gif with ssd and posenet

* Add Docker Support (#74)

* add Dockerfile for make-sense

* Update README for Docker

* README updated

* README updated with docker logs

* readme updated

* Update Dockerfile

* Update README.md

* basic stats

Co-authored-by: Fatih Baltacı <[email protected]>
  • Loading branch information
SkalskiP and fatihbaltaci authored Jan 8, 2020
1 parent a91f750 commit 0d3cbb1
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@ npm start
```
To ensure proper functionality of the application locally, an npm `6.x.x` and node.js `v11.x.x` versions are required. More information about this problem is available in the [#16][4].

## Set Up Project with Docker

```bash
# Build Docker Image
docker build -t make_sense docker/

# Run Docker Image as Service
docker run -dit -p 3000:3000 --restart=always --name=make_sense make_sense

# Get Docker Container IP
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' make_sense
# Go to `<DOCKER_CONTAINER_IP>:3000`

# Get Docker Container Logs
docker logs make_sense
```

## Supported Keyboard Shortcuts

| Functionality | Context | Mac | Windows / Linux |
Expand Down
13 changes: 13 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:11.10-slim

RUN apt-get update && apt-get -y install git && rm -rf /var/lib/apt/lists/*

RUN mkdir /workspace && \
cd /workspace && \
git clone https://github.com/SkalskiP/make-sense.git && \
cd make-sense && \
npm install

WORKDIR /workspace/make-sense

ENTRYPOINT ["npm", "start"]
Binary file modified examples/demo-posenet.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/demo-ssd.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-155837750-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-155837750-1');
</script>

<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/make-sense-ico.png" />
<link href="https://fonts.googleapis.com/css?family=Saira+Semi+Condensed&display=swap" rel="stylesheet">
Expand Down

0 comments on commit 0d3cbb1

Please sign in to comment.