Deployment
These are the instructions for deploying the web server. Installation instructions are available for several platforms.
Deploying on Your Own Machine
Docker (Recommended)
Note: You may have to prepend sudo
on these commands to run them with
elevated privileges.
Note: See Server Configuration for details on how to use the CLI.
- Install Docker.
- Pull the Docker image:
docker pull jsve/wireless-debugging
- Run the Docker image:
docker run -p 80:80 jsve/wireless-debugging
Manual Installation
- Install Python 3, Pip3, and Ruby.
-
Clone the repository
git clone https://github.com/sumnerevans/wireless-debugging.git
-
In the
server
directory run the following commands:pip3 install -r requirements.txt gem install **panini.gem** compass compile
- Run the server using
sudo ./widb_server.py
. Note: See Server Configuration for details on how to use the CLI. - Verify that the server is running by going to
localhost
in your browser.
Deploying Onto Cloud Platforms
AWS
- Start an EC2 instance running your preferred Linux platform. See Getting Started with Amazon EC2 Linux Instances.
- Follow either the Docker or Manual Installation instructions.
Google Compute Engine
- Start a Compute Engine VM instance running your preferred Linux platform. See Creating and Starting an Instance.
- Follow either the Docker or Manual Installation instructions.