-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment Guide
This documentation is under construction.
This guide is intended for new teams that would like to start using the StrangeScout system for scouting at FRC events. This is free software without warranty or support, but you're more than welcome to email [email protected]
with any questions and we will help you if possible.
-
A server that meets the following requirements:
- Runs a 64-bit Linux operating system. We use Ubuntu Server 18.04 LTS in production, hosted on Amazon AWS EC2 on a
t2.small
ort2.micro
instance. You can get your first year of the later free when you sign up for an AWS account. You must have an account that cansudo
to root; if you got the server from a commercial provider like AWS, GCP, Azure, etc. this won't be an issue. - Has Docker CE and Docker Compose installed and updated from the official repositories (instructions linked). We use the latest stable versions of each in production.
- Has a static, public IP address and has ports HTTP (80), HTTPS (443), and MySQL (3306) open in the firewall. If you are running in the cloud, do not block SSH (22) or you will lose access to the console. The default EC2 Ubuntu image is configured appropriately, although you may wish to lock it down some from the default. For higher security, you could restrict SSH and MySQL ports to only be available over a VPN, but this isn't needed if you use secure passwords. You cannot use a computer in your buildspace unless you pay your ISP for a static, public IP address and have your router configured to forward the aforementioned ports to that computer--for most teams, it makes sense to use a commercial cloud computing provider such as AWS, GCP, or Azure.
- Runs a 64-bit Linux operating system. We use Ubuntu Server 18.04 LTS in production, hosted on Amazon AWS EC2 on a
-
A domain name or subdomain of a domain you control (ex.
strangescout.team0001.org
), with an A record configured with your DNS provider (we use AWS Route 53, but the free DNS hosting that comes with most domains is fine) to point to your server's public IP address (take care not to use the private address when setting this up, or it will not work). This domain will be used to access your server for scouting and administration. - Client devices to scout with (laptops, phones, tablets, etc.) that can run a web browser (any browser from the past few years should work, although we only test with latest Chrome, Firefox, and Safari) and will have internet access (WiFi, wired, or LTE mobile data) throughout the duration of their use at the event. All data collection occurs in the browser, so Android, iOS, Windows, macOS, Chrome OS, and Linux devices are all supported. To view the data, you will need to use one of the many programs that can connect to a MySQL/MariaDB server and import data. We like Tableau, which is free for students and FRC teams!
Connect to your server over SSH. For new AWS EC2 users, this guide walks you through the process of creating the virtual machine and connecting to it with SSH. Be sure that you do not lose the SSH key or you will have to start over with a new server.
Thanks for using the StrangeScout system! Remember that under the GNU AGPL license of this project, users are required to make source code available to modified versions they host on the net, so make sure you're forks are set to public and you're good to go! Of course, contributions to upstream are always welcome!
StrangeScout is brought to you by the members of FRC Team #1533 at ECG Robotics, Inc, a 501(c)(3) nonprofit organization. Consider donating to us if this software helps your team succeed!