From 87cb16a3c66135cbae935b67fd2aa9f802e24cbb Mon Sep 17 00:00:00 2001 From: axn5966 Date: Tue, 9 Oct 2018 13:54:11 -0400 Subject: [PATCH] Environment setup --- YTMirror/README.md | 3 ++ YTMirror/YTMirror.njsproj | 77 +++++++++++++++++++++++++++++++++++++++ YTMirror/package.json | 9 +++++ YTMirror/server.js | 8 ++++ 4 files changed, 97 insertions(+) create mode 100644 YTMirror/README.md create mode 100644 YTMirror/YTMirror.njsproj create mode 100644 YTMirror/package.json create mode 100644 YTMirror/server.js diff --git a/YTMirror/README.md b/YTMirror/README.md new file mode 100644 index 0000000..149bf4f --- /dev/null +++ b/YTMirror/README.md @@ -0,0 +1,3 @@ +# YTMirror + + diff --git a/YTMirror/YTMirror.njsproj b/YTMirror/YTMirror.njsproj new file mode 100644 index 0000000..d1442f8 --- /dev/null +++ b/YTMirror/YTMirror.njsproj @@ -0,0 +1,77 @@ + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + YTMirror + YTMirror + Debug|Any CPU + + + + Debug + 2.0 + 3adca4cb-3634-40cd-a0cc-712b7d911184 + . + server.js + + + . + . + v4.0 + {3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD} + 1337 + true + + + true + + + true + + + + + + + + + + + + + + False + True + 0 + / + http://localhost:48022/ + False + True + http://localhost:1337 + False + + + + + + + CurrentPage + True + False + False + False + + + + + + + + + False + False + + + + + \ No newline at end of file diff --git a/YTMirror/package.json b/YTMirror/package.json new file mode 100644 index 0000000..9ad4ffe --- /dev/null +++ b/YTMirror/package.json @@ -0,0 +1,9 @@ +{ + "name": "ytmirror", + "version": "0.0.0", + "description": "YTMirror", + "main": "server.js", + "author": { + "name": "" + } +} diff --git a/YTMirror/server.js b/YTMirror/server.js new file mode 100644 index 0000000..0c553eb --- /dev/null +++ b/YTMirror/server.js @@ -0,0 +1,8 @@ +'use strict'; +var http = require('http'); +var port = process.env.PORT || 1337; + +http.createServer(function (req, res) { + res.writeHead(200, { 'Content-Type': 'text/plain' }); + res.end('Hello World\n'); +}).listen(port);