Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/addshore/wikicrowd

Tool for crowd sourced micro edits for Wikimedia
https://github.com/addshore/wikicrowd

toolforge wikicrowd wikidata wikipedia

Last synced: 2 months ago
JSON representation

Tool for crowd sourced micro edits for Wikimedia

Awesome Lists containing this project

README

        

# wikicrowd

The [currently deployed web app](https://wikicrowd.toolforge.org) built using Laravel.

![](https://i.imgur.com/mn5wRiQ.png)

`toolforge` contains documentation and resources for deploying the web app.

## Question generation

Question genertation is done using Laravel jobs.

For the primary questions (depicts), checkout the `spec` folder the the yaml that is used to generate the questions.

## Development

To get the dependencies you'll need to do a composer install...

```sh
composer install
```

If you have docker you should be able to use sail to run the development system.

```sh
./vendor/bin/sail up -d
npm run watch
```

On first setup you'll need to create the databases.

```sh
./vendor/bin/sail artisan migrate
```

You can then generate a couple of questions (just exit the command early so it doesnt run forever)

```sh
./vendor/bin/sail artisan job:dispatchNow GenerateDepictsQuestions
```

Then find the site at http://localhost

In order to have the API fully setup you'll need to make your own `.env` file, including your own mediawiki oauth details.

### Other commands

You can run basic php linting:

```sh
composer run lint
```

## Deployment

You need to ssh into the tool, and then run `./src/toolforge/update.sh`.