Hello there!
Interested in running your own Local
but the github repo looks intimidating? Here’s a step by step guide written just for you
It is highly recommended that you do not skip the steps or deviate from the instructions as installing on Windows is a challenging due to the number of dependencies!
1.) DFU-util
Follow the instructions here to install DFU-util
driver: https://community.spark.io/t/tutorial-installing-dfu-driver-on-windows/3518
Download DFU-util
from: http://dfu-util.gnumonks.org/releases/dfu-util-0.7-binaries.7z
Place the dfu-util.exe
in a directory you prefer. Remember where you placed it
2.) Spark-CLI
Note: Install ONLY 32 bit software
Follow this tutorial for the installation of Spark-cli
: https://community.spark.io/t/tutorial-spark-cli-on-windows-04-july-2014/3112
This will include installation of `OpenSSL(normal) and Node.js which is also needed by the Local
3.) Github command-line
Download from: https://windows.github.com/ and install
4.) Python [2.7.x]
Download from: https://www.python.org/downloads/windows/ and install.
Make sure that the version is only 2.7.x
5.) Visual C++ 2010 Express
Download from: http://go.microsoft.com/?linkid=9709949 and install.
6.) Adding OpenSSL
and DFU-util
to CMD Path
NOTE: this will require changing a Windows setting so please so not proceed if you feel uncomfortable doing so
- go to
My Computer
and click onSystem Properties
- click on
Advanced system settings
on the left
- click on
Environment Variables
- look for the variable
PATH
and hit edit
Copy the full variable value as backup and save it somewhere
- Add in the following at the end of the value:
;C:\OpenSSL-Win32\bin;PATH_TO_DFU_UTIL_EXE
make sure u change this ^^^^
Time to install Local
!
- Install the Local
–
I would recommend using thegit command line
or evennode.js command line
- cd to the directory you want to save the files in
- Clone the repo with:
git clone https://github.com/spark/spark-server.git
- cd spark-server/js
- npm install
- node main.js
Congratulations! Your Local should be running with the following shown on the CMD
Good Job!
Next step will be to Setup the Local for the 1st time: https://community.spark.io/t/tutorial-local-cloud-1st-time-instructions/5589
kennethlimcp