diff --git a/README.md b/README.md deleted file mode 100644 index 890b0dca12a..00000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# You've added your first ReadMe file! -A README.md file is intended to quickly orient readers to what your project can do. New to Markdown? [Learn more](https://go.microsoft.com/fwlink/p/?LinkId=524306&clcid=0x409) - -## Edit this ReadMe and commit your change to a topic branch -In Git, branches are cheap. You should use them whenever you're making changes to your repository. Edit this file by clicking on the edit icon. - -Then make some changes to this ReadMe file. - -> Make some **edits** to _this_ blockquote - -When you are done, click the dropdown arrow next to the save button - that will allow you to commit your changes to a new branch. - -## Create a pull request to contribute your changes back into master -Pull requests are the way to move changes from a topic branch back into the master branch. - -Click on the **Pull Requests** page in the **CODE** hub, then click "New Pull Request" to create a new pull request from your topic branch to the master branch. - -When you are done adding details, click "Create Pull request". Once a pull request is sent, reviewers can see your changes, recommend modifications, or even push follow-up commits. - -First time creating a pull request? [Learn more](https://go.microsoft.com/fwlink/?LinkId=533211&clcid=0x409) - -### Congratulations! You've completed the grand tour of the CODE hub! - -# Next steps - -If you haven't already done so, [install Git](https://git-scm.com/downloads) (as well as [Git Credential Manager](https://java.visualstudio.com/Downloads/gitcredentialmanager/Index) for Linux or Mac OS) - -Choose and install one of these supported IDEs: -* [Visual Studio](https://go.microsoft.com/fwlink/?LinkId=309297&clcid=0x409&slcid=0x409) -* [Android Studio](https://developer.android.com/studio) (with [Team Services Plugin](https://java.visualstudio.com/Downloads/intellijplugin/Index)) -* [Eclipse](https://www.eclipse.org/downloads) (with [Team Explorer Everywhere](https://java.visualstudio.com/Downloads/eclipseplugin/Index)) -* [IntelliJ IDEA](https://www.jetbrains.com/idea/download) (with [Team Services Plugin](https://java.visualstudio.com/Downloads/intellijplugin/Index)) -* [Visual Studio Code](https://code.visualstudio.com/Download) (with [Team Services Extension](https://java.visualstudio.com/Downloads/visualstudiocode/Index)) - -Then clone this repo to your local machine to get started with your own project. - -Happy coding! \ No newline at end of file diff --git a/server/.gitignore b/server/.gitignore new file mode 100644 index 00000000000..1eae0cf6700 --- /dev/null +++ b/server/.gitignore @@ -0,0 +1,2 @@ +dist/ +node_modules/ diff --git a/server/README.md b/server/README.md new file mode 100644 index 00000000000..9e978653c44 --- /dev/null +++ b/server/README.md @@ -0,0 +1,10 @@ +# Office Network +Getting started + +Requirements +* Node.js + +Project setup +* `npm install -g typescript gulp-cli` +* `npm install` + diff --git a/server/gulpfile.js b/server/gulpfile.js new file mode 100644 index 00000000000..2d420879784 --- /dev/null +++ b/server/gulpfile.js @@ -0,0 +1,9 @@ +var gulp = require("gulp"); +var ts = require("gulp-typescript"); +var tsProject = ts.createProject("tsconfig.json"); + +gulp.task("default", function () { + return tsProject.src() + .pipe(ts(tsProject)) + .js.pipe(gulp.dest("dist")); +}); \ No newline at end of file diff --git a/server/package.json b/server/package.json new file mode 100644 index 00000000000..176cc5c7830 --- /dev/null +++ b/server/package.json @@ -0,0 +1,18 @@ +{ + "name": "officenet", + "version": "1.0.0", + "description": "A README.md file is intended to quickly orient readers to what your project can do. New to Markdown? [Learn more](https://go.microsoft.com/fwlink/p/?LinkId=524306&clcid=0x409)", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://offnet.visualstudio.com/_git/officenet" + }, + "author": "", + "devDependencies": { + "gulp": "^3.9.1", + "gulp-typescript": "^2.13.6" + } +} diff --git a/server/src/index.ts b/server/src/index.ts new file mode 100644 index 00000000000..ac7d0ca8178 --- /dev/null +++ b/server/src/index.ts @@ -0,0 +1,5 @@ +function hello(compiler: string) { + console.log(`Hello from ${compiler}`); +} + +hello("TypeScript"); \ No newline at end of file diff --git a/server/tsconfig.json b/server/tsconfig.json new file mode 100644 index 00000000000..eed68b57ea9 --- /dev/null +++ b/server/tsconfig.json @@ -0,0 +1,10 @@ +{ + "files": [ + "src/index.ts" + ], + "compilerOptions": { + "target": "es5", + "module": "commonjs", + "moduleResolution": "node" + } +} \ No newline at end of file