Glavin001 / SMMApp2

Saint Mary's Mobile App, Version 2.0 @
http://society.cs.smu.ca:7000
2 stars 0 forks source link

Support for Windows as a Host Server #43

Closed Glavin001 closed 10 years ago

Glavin001 commented 10 years ago

@Danlock and @TwistedFaith have requested this, as they run Windows machines.

Current error message in installation, npm install:

'.' is not recognized as an internal or external command,
operable program or batch file.
Glavin001 commented 10 years ago

The error message is caused by preinstall script in the npm package.json file. On Windows, it runs as a Batch script, not Bash script. The simple solution is to remove the preinstall from the package.json file and print a message to install external dependencies.

Glavin001 commented 10 years ago

If Redis is not installed and the server running then you'll receive this error:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED

.....

Simply install Redis server from http://redis.io/download

Glavin001 commented 10 years ago

The Redis project does not directly support Windows,...

Two options: 1) RECOMMENDED: Boot up a Virtual Machine and install an Operating System like Ubuntu, or 2) Try to install the Microsoft Open Tech group version of Redis.