Giter Club home page Giter Club logo

httparchive.org's Introduction

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

httparchive.org's People

Contributors

0verbyte avatar anoblet avatar bazzadp avatar chrisbolin avatar denar90 avatar dependabot[bot] avatar ericlaw1979 avatar jridgewell avatar malchata avatar paulcalvano avatar paulirish avatar pmeenan avatar rafaelcastrocouto avatar rviscomi avatar stephanmax avatar tjmonsi avatar tomayac avatar tpiros avatar tunetheweb avatar wellingguzman avatar xi avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.