2016-02-12 21:26:40 +00:00
|
|
|
# term-notify-server
|
|
|
|
|
2016-02-12 21:48:03 +00:00
|
|
|
## Prerequisites
|
|
|
|
1. A windows developer account
|
|
|
|
2. latest version of node.js
|
|
|
|
3. mongodb ( if you want to use MySQL. Just modify the code. the schema is rather simple )
|
|
|
|
|
2016-02-12 21:26:40 +00:00
|
|
|
## Setup
|
2016-02-12 21:48:03 +00:00
|
|
|
1. Follow [this](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868206.aspx) instruction to create an app first
|
|
|
|
2. Get the client secret and Package SID from the instruction above
|
|
|
|
3. Put them into notify-term/config/auth.js
|
|
|
|
4. Setup the database
|
|
|
|
5. Run the server
|