AlexTatiyants / pev

Postgres Explain Visualizer
MIT License
2.77k stars 192 forks source link

Add dockerfile #20

Closed mcginleyr1 closed 7 years ago

mcginleyr1 commented 8 years ago

@AlexBoehner cleared up one issue I was having with this. remaining one is when running gulp serve I get

root@e22252082e17:/var/www/pev# gulp serve --env dev [13:40:27] Requiring external module ts-node/register [13:40:27] Warning: gulp version mismatch: [13:40:27] Global gulp is 3.9.1

[13:40:27] Local gulp is 3.9.0

⨯ Unable to compile TypeScript

gulpfile.ts (1,23): Cannot find module 'gulp'. (2307) tools/config.ts (1,28): Cannot find module 'fs'. (2307) tools/config.ts (61,27): Cannot find name 'require'. (2304) tools/typings/merge-stream.d.ts (2,36): Cannot find namespace 'NodeJS'. (2503) tools/typings/merge-stream.d.ts (3,33): Cannot find namespace 'NodeJS'. (2503) tools/typings/merge-stream.d.ts (4,17): Cannot find namespace 'NodeJS'. (2503) tools/typings/systemjs-builder.d.ts (4,60): Cannot find name 'Promise'. (2304) tools/typings/systemjs-builder.d.ts (5,65): Cannot find name 'Promise'. (2304) tools/utils.ts (9,17): Cannot find name 'require'. (2304) tools/utils/server.ts (2,26): Cannot find module 'express'. (2307) tools/utils/server.ts (5,30): Cannot find module 'serve-static'. (2307) tools/utils/server.ts (6,23): Cannot find module 'path'. (2307) tools/utils/server.ts (19,20): Cannot find name 'process'. (2304) tools/utils/server.ts (39,25): Cannot find name 'process'. (2304) tools/utils/tasks_tools.ts (1,23): Cannot find module 'gulp'. (2307) tools/utils/tasks_tools.ts (2,23): Cannot find module 'gulp-util'. (2307) tools/utils/tasks_tools.ts (3,24): Cannot find module 'chalk'. (2307) tools/utils/tasks_tools.ts (6,50): Cannot find module 'fs'. (2307) tools/utils/tasks_tools.ts (7,20): Cannot find module 'path'. (2307) tools/utils/tasks_tools.ts (19,10): Cannot find name 'require'. (2304) tools/utils/template-injectables.ts (2,20): Cannot find module 'path'. (2307)

But I know diddly squat about typescript and how it looks up deps. If no one wants to give a hand we can close this for now till I get time at some point to read about typescript.