Website | Product Docs | Architecture Docs | Contributing | Twitter | Telegram | Discourd | Medium | Reddit
Game Hub is an online social arena where wodo community members players play online Wodo games with other community members, join tournaments, and earn instant cryptocurrencies and NFTs while playing. Plenty of games developed by Wodo Team and other game developers/companies are playable on the Wodo game hub.
You can install Laravel Valet on your machine, By default it will install Nginx, Dnsmasq using Homebrew
You can follow this guide for linux installation.
if your application located in ~/Dev/wg-game-hub then go to ~/Dev and run valet park
after that you access the web application from the browser http://wg-game-hub.test
NOTE: Valet TLD is
.testwhich means all laravel applications under~/Devwill be accessible automatically byhttp://{PROJECT_NAME}.testwithout editing your hosts file.
npm install -g @soketi/soketiSteps to run the application for development (Valet, Laravel Sail)
- Copy
.env.exampleto.envand fill it with proper values - Run database migrations
php artisan migrate - Seed the database with dummy data by running
php artisan wodo:gamehub-demo-seed - Run soketi in separate terminal
soketi start - Install and compile JS, CSS and UI Assets
npm install && npm run dev
- ssh into wodo-dev servers
- Run
redeploy-dev.shscript which is in the root of the project
The script is going to do the following steps
- cd into the directory
- turn of all the docker containers
- pull the new changes
- install all php dependencies
- install all js dependencies
- build and bundle js and css
- start containers
- drop the database tables and migrate everything fresh
- Seed the database with dummy data
There is a Dockerfile ready in the root of the project.
// TODO: Add production deployment commands
