realdreamer / httparchive.org

The new and improved HTTP Archive website

Home Page:https://httparchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 env
source env/bin/activate
pip install -r requirements.txt
  1. Install the NPM dependencies:
npm install
  1. Authenticate with Google Cloud

This is necessary because the App Engine server uses Cloud APIs.

gcloud auth application-default login
  1. Run the application:
npm run start
  1. In your web browser, enter the following address: http://localhost: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

About

The new and improved HTTP Archive website

https://httparchive.org

License:Apache License 2.0


Languages

Language:JavaScript 44.0%Language:HTML 31.2%Language:Python 14.2%Language:CSS 10.7%