Code Monkey home page Code Monkey logo

workadventure's Introduction

Discord

WorkAdventure logo WorkAdventure office image

Live demo here.

WorkAdventure

WorkAdventure is a web-based collaborative workspace presented in the form of a 16-bit video game.

In WorkAdventure you can move around your office and talk to your colleagues (using a video-chat system, triggered when you approach someone).

See more features for your virtual office: https://workadventu.re/virtual-office

Community resources

Check out resources developed by the WorkAdventure community at awesome-workadventure

Setting up a production environment

The way you set up your production environment will highly depend on your servers. We provide a production ready docker-compose file that you can use as a good starting point in the contrib/docker directory.

Setting up a development environment

Note
These installation instructions are for local development only. They will not work on remote servers as local environments do not have HTTPS certificates.

Install Docker.

Run:

cp .env.template .env
docker-compose up

The environment will start.

You should now be able to browse to http://play.workadventure.localhost/ and see the application. You can view the Traefik dashboard at http://localhost:8080/

Note: on some OSes, you will need to add this line to your /etc/hosts file:

/etc/hosts

127.0.0.1 workadventure.localhost

You can also start WorkAdventure + a test OpenID connect server using:

$ docker-compose -f docker-compose.yaml -f docker-compose-oidc.yaml up

(Test user is "User1" and his password is "pwd")

Troubleshooting

MacOS users

Unlike with Windows and Linux, MacOS developers need to configure an amount of RAM dedicated to Docker. If some containers are "Killed", you will need to increase the amount of RAM given to Docker. At least 6GB of RAM is needed.

If the performance is poor, you can also try to run WorkAdventure inside Vagrant.

Windows users

If you find errors in the docker logs that contain the string "\r", you have an issue with your Git configuration. On Windows, Git can be configured to change the carriage return from "\n" to "\r\n" on the fly. Since the code is running in Linux containers, you absolutely want to be sure the Git won't do that. For this, you need to disable the core.autocrlf settings.

If you run into this issue, please run the command:

git config --global core.autocrlf false

Then, delete the WorkAdventure directory and check it out again.

CORS error / HTTP 502 error

If you see a CORS error or an HTTP 502 error when trying to load WorkAdventure, check the logs from the pusher and from the back container. If you see an error, you can simply try to restart them. Sometimes, a rare race condition prevents those containers from starting correctly in dev.

docker-compose restart pusher
docker-compose restart back

workadventure's People

Contributors

moufmouf avatar gparant avatar kharhamel avatar cesar-cardinale avatar grl78 avatar waclaw-i avatar dependabot[bot] avatar lukashass avatar lurkars avatar nolway avatar anbraten avatar pizkaz avatar clementvieilly avatar npeguin avatar mktn87 avatar joberthel avatar himeshaman avatar tabascoeye avatar evavillarroya avatar fcecagno avatar nguyenk avatar albanbruder avatar maximilianoveiga avatar chasethechicken avatar cbluoss avatar fvztdk avatar informatic avatar psy avatar lithimlin avatar piitaya avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.