Difference between revisions of "Windows"

(Starting)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
If you're interested to give Box Of Stops a test drive without a Raspberry Pi, here are some instructions on how to set it up on Windows.
+
If you're interested to give Box Of Stops a test drive without a Raspberry Pi, here are some instructions on how to set it up on Windows.  Alternatively, you may be interested to boot the PC from a USB stick - more details [[Running on a PC|here]].
  
 
The key differences between running Box Of Stops on the Pi and Windows are:
 
The key differences between running Box Of Stops on the Pi and Windows are:
Line 15: Line 15:
 
* Finish the [[#Setting up|set up]]
 
* Finish the [[#Setting up|set up]]
  
Once you are installed, instructions about [[#Starting|starting]] and [[#Stopping|stopping]] are below.
+
Once you are installed, instructions for [[#Starting|starting]] and [[#Stopping|stopping]] are below.
  
 
For reference, Box Of Stops is un-fussy about the version of Windows you use - Vista or later is fine.  And the machine spec needed is fairly modest - it's likely your Windows install has at least the spec of a Raspberry Pi.  Due to the multi-threading in Box Of Stops, we recommend at least a dual-core processor, but even 1Gb of RAM is fine.
 
For reference, Box Of Stops is un-fussy about the version of Windows you use - Vista or later is fine.  And the machine spec needed is fairly modest - it's likely your Windows install has at least the spec of a Raspberry Pi.  Due to the multi-threading in Box Of Stops, we recommend at least a dual-core processor, but even 1Gb of RAM is fine.
Line 27: Line 27:
 
[[File:Java-download-firefox.png|300px]]
 
[[File:Java-download-firefox.png|300px]]
  
After that, please install Java using the default options.  The only exception to this is that at the moment the installer kindly offers to set Yahoo as your homepage and default search provider - there is no need to accept this.
+
After that, please install Java using the default options.  The only exception to this is that at the moment the installer offers to set Yahoo as your homepage and default search provider - there is no need to accept this.
  
 
[[File:Java-install.png|300px]] [[File:Java-yahoo.png|300px]]
 
[[File:Java-install.png|300px]] [[File:Java-yahoo.png|300px]]
Line 33: Line 33:
 
== Installing Python ==
 
== Installing Python ==
  
Similarly, if you don't already have Python, this can be downloaded for Windows from [https://www.python.org/downloads/windows/ here].  The latest version of Python 3 is recommended, but because [[#Downloading PortMidi|PortMidi]] below is 32 bit, please also download the 32 bit version Python.  I.e. the "Windows x86 executable installer" instead of the "Windows x86-64 executable installer".
+
Similarly, if you don't already have Python, this can be downloaded for Windows from [https://www.python.org/downloads/windows/ here].  The latest version of Python 3 is recommended, but because [[#Downloading PortMidi|PortMidi]] below is 32 bit, please ensure you download the 32 bit version of Python.  I.e. the "Windows x86 executable installer" instead of the "Windows x86-64 executable installer".
  
Please ensure when installing Python that you tick the option to add it to your PATH:
+
Also, when installing Python, please ensure that you tick the option to add it to your PATH:
  
 
[[File:Install-python-on-path.png|300px]]
 
[[File:Install-python-on-path.png|300px]]
Line 68: Line 68:
 
== Starting ==
 
== Starting ==
  
Start a [[Windows Command Prompt|command prompt]] and type the following commands:
+
To launch Box Of Stops, please start a [[Windows Command Prompt]] and type the following commands:
 
  cd C:\boxofstops
 
  cd C:\boxofstops
 
  java -jar boxofstops.jar
 
  java -jar boxofstops.jar
(where C:\boxofstops is the directory you copied <tt>portmidi.dll</tt> and <tt>boxofstops.jar</tt> to).
+
(where C:\boxofstops is the directory you copied <tt>portmidi.dll</tt> and <tt>boxofstops.jar</tt> to in the [[#Setting up|previous step]]).
  
 
When you first launch Box Of Stops on Windows, you may get a prompt from Windows Firewall.  Naturally, you will need to ask it to unblock network connections, to allow Box Of Stops to receive a connection from a web browser:
 
When you first launch Box Of Stops on Windows, you may get a prompt from Windows Firewall.  Naturally, you will need to ask it to unblock network connections, to allow Box Of Stops to receive a connection from a web browser:
Line 81: Line 81:
  
 
Notes:
 
Notes:
* If you see a message about being unable to allocate an address - <tt>java.net.BindException: Address already in use: bind</tt> - please look for the <tt>server.port</tt> value in [[Application properties]] file
+
* If you see a message about being unable to allocate an address - <tt>java.net.BindException: Address already in use: bind</tt> - please read about changing the [[Server port]]
 
* At the moment there is no option to [[Auto start]] Box Of Stops under Windows
 
* At the moment there is no option to [[Auto start]] Box Of Stops under Windows
  

Latest revision as of 19:50, 28 June 2017

Installing Java

Installing Python

Downloading PortMidi

Downloading Box Of Stops

Setting up

Starting

Stopping

Last modified 8 years ago
Cancel

Help improve this page!

Cancel

Keep track of this page and all changes to it.