-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
ardliath edited this page Oct 12, 2018
·
2 revisions
DeepSpace is designed to be run in Azure. To install a new instance of DeepSpace you should:
- Make sure you've got an azure account!
- Create a new Cosmos DB account, make a note of the URI and Key from the Keys tab
- Create a new database called DeepSpace and a collection called Entities
- Create a WebApp and configure it to deploy automatically from the master GitHub branch
- In the WebApp go into Application settings and create the following two settings:
- DatabaseEndpoint = the URI of the CosmosDB
- DatabaseKey = the key of the CosmosDB
- Access http://yourwebapplicationname..azurewebsites.net/api/info you should see the following message:
The DeepSpace server is online and operational.
If you don't want to use azure and want to get up and running locally you can use the file based data access mechanism. to do this:
- Charge Startup.cs to use the file based data access instead of the cosmos one
- Create an app setting of value StorageFolder which points to a location on the hard drive to which the process has permission to write.