Game of Work, aka GoW!, was a gamification platform created by Emilio Ampudia (eampudia at gmail.com) and Paco Orozco (paco at pacoorozco.info).
We wanted to teach, learn and share some fun with our colleagues, so we created a game based on questions about our organization (process, services, teams...). This was the birth of gamify, a platform implementing a levels & badge game at UPCnet.
As much as possible, I've tried to keep a clean code to work everywhere out of the box. You are not obliged to use my tools and you are free to change the code in order to use it at your own feeling.
It's fully working and you can play with it, but it lacks of some documentation. I'm working in order to improve it, in my personal free time, so be patient or contact me in order to give me your help.
See CHANGELOG file in order to know what changes are implemented in every version.
Laravel Sail is a light-weight command-line interface for interacting with Laravel's default Docker development environment. This will create several containers to implement the application needs. An application server and a database server.
Prior to this installation, you need to have installed this software:
-
Clone the repository locally
git clone https://github.com/pacoorozco/gamify-laravel.git gamify cd gamify
-
Copy
.env.example
to.env
.NOTE: You don't need to touch anything from this file. It works with default settings.
-
Install PHP dependencies with:
NOTE: You don't need to install neither PHP nor Composer, we are going to use a Composer image instead.
docker run --rm \ -u "$(id -u):$(id -g)" \ -v $(pwd):/var/www/html \ -w /var/www/html \ laravelsail/php80-composer:latest \ composer install --ignore-platform-reqs
-
Start all containers with the
sail
command../vendor/bin/sail up -d
-
Seed database in order to play with some data
php artisan key:generate php artisan migrate --seed
If you are using Sail, you should execute those commands using Sail:
# Running Artisan commands within Laravel Sail... sail artisan key:generate sail artisan migrate --seed
-
Point your browser to
http://localhost
. Enjoy!NOTE: Default credentials are
[email protected]/admin
or[email protected]/player
If you have issues with gamify, you can report them with the GitHub issues module.
Please see CONTRIBUTE for details.
gamify is released as free software under GNU GPL v3.0 or later
gamify was originally developed by Emilio Ampudia and Paco Orozco as part of a game in UPCnet. Later, the original version was migrated to Laravel.
See contributor list for a complete list of contributors.