Skip to content

huwiki/wiki-stat-portal

Repository files navigation

User statistics portal for Wikimedia Foundation wikis.

Development

See details in documentation/Development.md

Tech stack

The site uses Next.js for the backend under Node.js 10+.

For the frontend we use React. Our main React component library is BlueprintJS, and we use MobX for state management. CSS is written using SASS (SCSS).

Development workflow

Install dependecies using the yarn command.

For development, use the yarn run dev command, which uses the Next.js infrastructure to take care of building, rebuild upon source changes and hot reloading. The development server runs on port 3000, so you can access the site at http://localhost:3000.

To build a version for hosting, use the yarn run build command. To start a server for the prebuild version use the yarn run start command. You can define the port of the running server with the PORT environment variable.

Production Environment

See details in documentation/ProductionEnvironment.md

This web application is meant to run on the Wikimedia Toolserver.

Modules

WikiStatPortal is an application with statistics modules. You can read about the current modules in documentation/Modules.md.

Configuration

For details on configuration, see documentation/Configuration.md

Licence

The code is licenced under the MIT licence.

About

Statistics portal for Wikimedia Foundation wikis

Resources

License

Stars

Watchers

Forks