Skip to content
WikiLoop Battlefield: fight vandalism on Wikipedia together
JavaScript Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add auto deployment to heroku upon CI pass. Fixes #36. Jul 19, 2019
assets We don't need that many buttons Aug 8, 2019
components Improve analytics Aug 15, 2019
layouts Pass the user and authentication to frontend Aug 16, 2019
middleware Remove boilerplate languagee Jul 16, 2019
pages Improve analytics Aug 15, 2019
plugins Remove boilerplate languagee Jul 16, 2019
server Fix flag retrieval Aug 18, 2019
shared Add micro services of /diff, /ores, /interaction and most importantly… Jul 18, 2019
static Remove boilerplate languagee Jul 16, 2019
store Mega commit, contains fix #60, #59, #58, #57" Aug 7, 2019
test Add apache 2.0 license, in process of obtaining Google open source ap… Jul 9, 2019
.babelrc Init Apr 9, 2019
.editorconfig Init Apr 9, 2019
.gitignore Init Apr 9, 2019
.prettierrc Init Apr 9, 2019
CONTRIBUTING.md Add a contributor file Jul 9, 2019
LICENSE Include full text of apache 2.0 Jul 9, 2019
Procfile Prepare for heroku launch Apr 11, 2019
README.md We don't need that many buttons Aug 8, 2019
app.json Continue to fix app.json for #63. Aug 7, 2019
heroku.env Add heroku.env and add request npm Apr 12, 2019
jest.config.js Try to add CI test results. In addition to #35. Jul 19, 2019
nuxt.config.js Fix breakage and add verificaiton uuid Aug 8, 2019
package-lock.json Add Oauth1 support for Wikimedia. Part of #61. Aug 16, 2019
package.json Add Oauth1 support for Wikimedia. Part of #61. Aug 16, 2019
renovate.json Add renovate.json Jul 24, 2019
template.env Add deploy to heroku button, fixes #63. Aug 7, 2019

README.md

WikiLoop Battlefield: Fight vandalism on Wikipedia together

WikiLoop Logo

Deploy

CircleCI GitHub watchers GitHub forkers GitHub starers GitHub followers

This is a project of web app built to allow people to fight vandalism collaboratively. See [[m:WikiProject_WikiLoop]] for more introduction. The documentation in this repository focus on development of the software itself.

Vandalism Example

Website Status

Uptime Robot status Prod Site Uptime Robot ratio (30 days) Dev Uptime Robot status Dev Site Uptime Robot ratio (30 days)

Quick Start

GitHub GitHub contributors GitHub closed issues GitHub package.json version (branch) Tech Stack

We welcome contributions! See our contribution policy. Please checkout our stack diagram to get familiar with required with technologies we depend on.

Deploy a Dev Instance on Heroku

Deploy

Demo: Deploy to Heroku

Install

Prerequisite: git, nodejs, npm

git clone git@github.com:google/wikiloop-battlefield.git
cd wikiloop-battlefield
npm install 

Setup

You should create a .env file containing environment variables needed by this project used by dotenv. A template has been provided in the template.env. Once set, you should do cp template.env .env to create such file in the exact name.

Run

Prerequisite: NuxtJS with VueJS and ExpressJS.

To run a local dev instance, which gives you hot reload and a devtool (Vue DevTool) friendly instance:

npm run dev

To build and run a local instance with like a prod:

npm run build
npm start

Test

Prerequisite: Docker, Jest

npm test

Continuous Integration

Prerequisite: CircleCI

We run our continuous integration with CircleCI. To run continuous integration locally:

circleci local execute build

Credit

You can’t perform that action at this time.