/httparchive.org

The HTTP Archive website hosted on App Engine

Primary LanguageJavaScriptApache License 2.0Apache-2.0

HTTPArchive.org Web Server on App Engine

New and improved version of HTTP Archive. This replaces the legacy version, the source code for which is still available at HTTPArchive/legacy.httparchive.org.

Run Locally

Source

  1. If you don't have virtualenv, install it using pip.
sudo pip install virtualenv
  1. Create an isolated Python environment, and install dependencies:
virtualenv --python python3.8 .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Install the NPM dependencies:
npm install
  1. Initialize the Google Cloud CLI (this is necessary because the App Engine server uses Google Cloud APIs):
gcloud init
  1. Run the application:
npm run start

Note: Windows users may need to run npm run watch and python main.py separately.

  1. In your web browser, enter the following address: http://127.0.0.1:8080

Staging

To test changes on a GCP App Engine server without deploying to the production instance, use the staging app at https://httparchive-staging.appspot.com.

npm run stage

Deploy

To push changes live to the production instance, use the deployment script. Changes will be available on https://httparchive.org.

npm run deploy

Third-party software licenses

HTTP Archive uses Highcharts. See their licensing terms for more info.