- GitHub Desktop -- Use it for checking out the code.
- Git for Windows -- Bash is needed including all Linux compatibility options (check the box for replacing "find".)
- XAMPP -- Make sure to include the "Perl" option during the install, all the other check marks are optional. It must be installed into
C:\XAMPP
to work, do not change this default setting.
- Use GitHub Desktop to clone
https://github.com/FRCTeam1073-TheForceTeam/webscout.git
. By default it goes inDocuments\GitHub\webscout
, which is a fine location. - Open Git Bash to get a bash command line.
- Change to the webscout directory:
cd Documents/GitHub/webscout
- Run the installation script:
./script/install.sh
- It will start by installing software dependencies (like Apache).
- Then it will create a configuration file:
local.conf
. - See the example configuration file for a preview.
- Edit the file:
edit local.conf
- Most of the defaults are probably fine to start with.
- Use the documentation comments for guidance about any setting you want to change.
- Static IP and DHCP settings aren't supported on Windows, so don't try to enable them.
- Setting up password protection doesn't work on some Windows computers. If the installation script hangs when asking for passwords, set
GUEST_USER=""
,SCOUTING_USER=""
, andADMIN_USER=""
which will disable passwords for the web interface entirely.
- Change to the webscout directory:
- Run the installation script again to finish up the installation:
./script/install.sh
Almost everything works on Windows with a few exceptions:
- Bot photo scouting does not work. It uses Image Magick for photo resizing and format conversion. Installation of that isn't yet in these instructions for Windows.
- CGI scripts on Windows have to start with a different first line than on Linux. Because of this, they get copied into place with that alteration. Every time you update a CGI script (or get an updated CGI script from git), you will need to re-run the installation script (or at least
./script/cgi-setup.sh
)