How To Build For Windows - einsteinx2/WaveBox GitHub Wiki
###Jul 26, 2013
Server
-
Install the latest version of Git for Windows from here: https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git
-
Install Microsoft .NET 4.5 from here: https://www.microsoft.com/en-us/download/details.aspx?id=30653
-
Install GTK# from here: http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.21.msi
-
Install Xamarin Studio from here (it says MonoDevelop, but it will download Xamarin): http://monodevelop.com
-
Open Git Bash from the start menu and clone the WaveBox repo to your home directory using this command:
cd ~ && git clone https://github.com/einsteinx2/WaveBox.git
NOTE: To paste in Git Bash, right click on the title bar, and go to Edit > Paste in the menu -
Open Xamarin Studio and open the WaveBox project (it will be in your home directory, WaveBox, WaveBox.sln)
-
Build WaveBox by pressing F8 or choosing Build > Build All from the top menu, then make sure to delete the WaveBox.exe.config file from the WaveBox/WaveBox.Server/bin/Debug folder, and move sqlite.dll from WaveBox/WaveBox.Server/bin/Debug/lib_native to WaveBox/WaveBox.Server/bin/Debug
-
To enable transcoding, download this zip file, unzip it, and place the ffmpeg.exe file into the WaveBox/WaveBox.Server/bin/Debug folder: https://s3-us-west-2.amazonaws.com/com.einsteinx2.wavebox/ffmpeg_windows.zip
-
Soon WaveBox will work as a Windows service, but until then, open Git Bash and run the following:
cd ~/WaveBox/WaveBox.Server/bin/Debug && ./WaveBox.exe
Web interface
-
Open Git Bash and clone the web repo into the themes directory:
git clone https://github.com/einsteinx2/WaveBoxWebClient.git ~/WaveBox/WaveBox.Server/bin/Debug/themes/wave
-
Install nodejs from here: http://nodejs.org/
-
Close and then re-open Git Bash and install the coffeescript build tools like so:
cd ~/WaveBox/WaveBox.Server/bin/Debug/themes/wave && npm install -g coffee-script browserify && npm install which
-
Build the web interface:
cd ~/WaveBox/WaveBox.Server/bin/Debug/themes/wave && cake build
-
Open the web interface by navigating to http://localhost:6500
Updates
Now any time you want to update WaveBox, do the following in Git Bash and then re-build with Xamarin Studio and delete the WaveBox.exe.config file from the Debug directory:
cd ~/WaveBox && git checkout . && git pull
Any time you want to update the web interface do the following in Git Bash:
cd ~/WaveBox/WaveBox.Server/bin/Debug/themes/wave && git checkout . && git pull && cake build