Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clemlatz/all-stereotypes-are-wrong
A game about diversity
https://github.com/clemlatz/all-stereotypes-are-wrong
diversity game react stereotypes
Last synced: 5 days ago
JSON representation
A game about diversity
- Host: GitHub
- URL: https://github.com/clemlatz/all-stereotypes-are-wrong
- Owner: clemlatz
- License: mit
- Created: 2016-04-15T19:14:00.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T20:21:20.000Z (5 months ago)
- Last Synced: 2024-06-19T02:28:28.233Z (5 months ago)
- Topics: diversity, game, react, stereotypes
- Language: JavaScript
- Homepage: https://asaw.clemlatz.dev
- Size: 2.09 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# All Stereotypes Are Wrong
**All Stereotypes Are Wrong** was made in 48 hours by
[Alexis Moroz](https://www.linkedin.com/in/alexismoroz) (game design) &
[Clément Bourgoin](https://twitter.com/ClementBourgoin) (code) during the
Diversity Jam (April 15-17, 2016) hosted at Mozilla Paris.Play it: https://asaw.iwazaru.fr/
## Run using docker
Attach MySQL database with `--env DB=mysql://user:pass@host/base` or with a `.env` file.
```console
docker run -d -p 3400:8080 \
--env-file=.env \
--restart=unless-stopped \
--name asaw \
iwazaru/all-stereotypes-are-wrong:3.1.1
```## Run in dev mode
### Requirements
- Node.js 10.16.0
- MySQL 5.7```console
DB=mysql://user:pass@host:port/base yarn dev
```## Release a new version
1. Update version number & changelog in README.md
2. Update version number in package.json
3. Update version number in client/package.json
4. Update version number in server/package.json
5. Update version number in App.js
6. Commit version bump & changelog update
7. Tag last commit with new version
8. Build docker image with new version tag:```console
docker build \
-t iwazaru/all-stereotypes-are-wrong:latest \
-t iwazaru/all-stereotypes-are-wrong:3.1.1 \
.
```9. Push docker image with new tags:
```console
docker push iwazaru/all-stereotypes-are-wrong:latest
docker push iwazaru/all-stereotypes-are-wrong:3.1.1
```10. On server, pull new image and restart
## Todo
- French version
- Don't ask the same question twice## Changelog
### 3.1.1 (2021-04-06)
- Upgrade dependencies to fix multiple security vulnerabilities
### 3.1.0 (2020-08-24)
- Add stereotype browser page
### 3.0.2 (2020-07-27)
- Upgrade dependencies to fix lodash vulnerability
### 3.0.1 (2020-06-16)
- Upgrade dependencies to fix security vulnerabilities
### 3.0.0 (2020-01-16)
- Rewrote front-end using React
### 2.0.1 (2019-11-21)
- Fixed displaying statistics when answering
- Upgraded dependencies to fix security flaws### 2.0.0 (2019-08-02)
- Replaced mongodb with MySQL
- Added Docker support
- Upgraded dependencies to fix security flaws### 1.0.0 (2016-04-21)
- First release