Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
/ hotframeworks Public archive

Web framework popularity rankings

Notifications You must be signed in to change notification settings

bruz/hotframeworks

Repository files navigation

HotFrameworks

Pulls statistics about web frameworks daily. It uses an unusual approach with a Clojure web app that doesn't serve traffic directly, but instead is queried by a scheduled job that uploads the HTML and assets to an S3 bucket.

Development

Prerequisites:

Installing:

git clone [email protected]:bruz/hotframeworks.git
cd hotframeworks

# Assuming no database password
createdb hotframeworks
psql hotframeworks < database/schema.sql

cp .lein-env.example .lein-env

Modify the configuration in .lein-env. AWS credentials are only necessary for publishing to S3.

Loading schema.sql only provides the database schema. In order to import statistics for some actual frameworks, adding some records to the languages and frameworks tables is required.

Import statistics from GitHub and Stack Overflow:

lein repl

In the REPL:

(require '[hotframeworks.models.statistic-set :as stats])
(stats/pull-and-save!)

Run the web app to test it locally:

lein ring server

Pull statistics and publish to S3

lein run

About

Web framework popularity rankings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published