Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ubuntu:bionic
MAINTAINER Sébastien M-B <essembeh@gmail.com>

RUN apt-get update && apt-get install -y git nodejs npm ruby-compass
RUN npm install -g bower grunt-cli

COPY app/package.json /
RUN npm install

COPY app/bower.json /
RUN bower install --allow-root --config.interactive=false


COPY app/ /

RUN mv bower_components app/

EXPOSE 9000
ENTRYPOINT grunt serve --stack --force
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you want to simply run depthy locally, you can use [Docker.io](https://www.do

Once docker installed, simple run:
```
$ docker run --rm -t -i -p 9000:9000 essembeh/depthy
$ docker run --rm -t -i -p 9000:9000 ndahlquist/depthy
```

Then go to [localhost:9000](http://localhost:9000)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ angular.module('depthyApp').provider('depthy', function depthy() {
pauseRender: true,
});
viewerObj.render(true);
encoder.add(viewerObj.getCanvas());
encoder.add(viewerObj.getCanvas().toDataURL("image/webp"));
++frame;
// wait every 4 frames
if (frame % 4 === 0) {
Expand All @@ -843,10 +843,11 @@ angular.module('depthyApp').provider('depthy', function depthy() {
worker();
}
} else {
var blob = encoder.compile();
deferred.resolve(blob);
depthy.viewer.overrideStageSize = null;
$rootScope.$safeApply();
encoder.compile(false, function(blob) {
deferred.resolve(blob);
depthy.viewer.overrideStageSize = null;
$rootScope.$safeApply();
});
}
} catch (e) {
deferred.reject(e);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion app/styles/_common.scss → app/app/styles/_common.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@charset "UTF-8";

html {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -455,7 +457,7 @@ logo {
font-size: 1rem;
background: $brand-neutral-dark;
color: $text-color;
padding: $panel-heading-padding;
padding: 10vh; /*$panel-heading-padding; */
}

&.empty, &.loading {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions bower.json → app/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"dependencies": {
"angular": "~1.2.16",
"angular-animate": "~1.2.16",
"angular-ga": "~0.1.0",
"angular-motion": "~0.3.2",
"angular-ga": "~0.1.3",
"angular-motion": "~0.3.4",
"angular-sanitize": "~1.2.16",
"angular-strap": "~2.0.1",
"angular-strap": "~2.3.6",
"angular-touch": "~1.2.16",
"angular-ui-bootstrap": "~0.11.0",
"angular-ui-router": "~0.2.10",
Expand All @@ -18,7 +18,6 @@
"jquery": "~1.11.0",
"lodash": "~2.4.1",
"pixi.js": "panrafal/pixi.js#build/depthy",
"promise": "http://s3.amazonaws.com/es6-promises/promise-1.0.0.js",
"screenfull": "~1.2.1",
"iscroll": "~5.1.1",
"stats.js": "*",
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 12 additions & 5 deletions package.json → app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,34 @@
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-cssmin": "~0.9.0",
"grunt-contrib-htmlmin": "~0.3.0",
"grunt-contrib-imagemin": "~0.7.0",
"grunt-contrib-imagemin": "~3.1.0",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-google-cdn": "~0.2.2",
"grunt-karma": "~0.8.2",
"grunt-karma": "^0.12.2",
"grunt-newer": "~0.7.0",
"grunt-ngmin": "~0.0.3",
"grunt-rev": "~0.1.0",
"grunt-svgmin": "~0.4.0",
"grunt-svgmin": "~6.0.0",
"grunt-usemin": "~2.1.1",
"jshint-stylish": "~0.1.3",
"karma": "~0.12.9",
"karma": "^1.6.0",
"karma-ng-html2js-preprocessor": "~0.1.0",
"karma-ng-scenario": "~0.1.0",
"load-grunt-tasks": "~0.4.0",
"time-grunt": "~0.3.1",
"grunt-manifest": "~0.4.0",
"karma-jasmine": "~0.1.5",
"karma-phantomjs-launcher": "~0.1.4",
"karma-chrome-launcher": "~0.1.4"
"karma-chrome-launcher": "~0.1.4",
"imagemin-gifsicle": "~7.0.0",
"imagemin-jpegtran": "~7.0.0",
"imagemin-optipng": "8.0.0",
"imagemin-pngquant": "9.0.0",
"pngquant-bin": "6.0.0",
"optipng-bin": "7.0.0",
"jpegtran-bin": "5.0.2"
},
"engines": {
"node": ">=0.10.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 0 additions & 25 deletions docker/Dockerfile

This file was deleted.

5 changes: 0 additions & 5 deletions docker/sources.list

This file was deleted.