aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjw2552018-01-10 12:58:28 +0000
committerjw2552018-01-10 12:58:28 +0000
commit8a8c42ddb2962ab4722774e7b8cc865bbef2b70f (patch)
treecd5a20138c05e0135febf875f36de0173d7f89fd /README.md
parentmodified README and made a script to install all packages, compile ts and run... (diff)
downloadmedicine-8a8c42ddb2962ab4722774e7b8cc865bbef2b70f.tar.gz
medicine-8a8c42ddb2962ab4722774e7b8cc865bbef2b70f.zip

updated readme, todo to explain/include changes. wrote a test for helloworld. all test files need .test.ts extension.

Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 26 insertions, 2 deletions
diff --git a/README.md b/README.md
index 728b376..8d64393 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,30 @@
-README
+# README
+
+## Instructions to install:
-Instructions to run:
$ ./getmenode.sh
+$ npm install all
+
+## Instructions to execute:
+
$ ./runmenode.sh
+// alternative for home pc:
+$ npm install gulp -g
+$ gulp scripts
+$ npm start
+
+### Notes on "gulp":
+
+npm module used to automate building and running but needs to be installed globally, so no use on host servers
+
+## To test:
+
+$ npm test
+-- these tests should always pass (when the server is up and running ofc)
+
+## Sources:
+http://mherman.org/blog/2016/11/05/developing-a-restful-api-with-node-and-typescript/#.WlW1fhdpw8o
+https://basarat.gitbooks.io/typescript/docs/quick/nodejs.html
+
+