Skip to content

hackclub/flavor-adventure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Work Adventure Hack Club Fork

WorkAdventure is a platform that allows you to design fully customizable collaborative virtual worlds (metaverse). This is a Hack Club Fork of Work Adventure, used for Flavor Town (https://github.com/hackclub/flavortown)

Useful tools for contributing to flavortown:

  1. want to build out the map? try the map building documentation
  2. Many features are already developed by the WorkAdveture community: awesome-workadventure

Setting up a production environment

there are 2 ways to set up a production environment:

  • using Docker Compose
  • or using a Helm chart for Kubernetes

Please check the Setting up a production environment guide for more information.

We are using a helm chart for the production version of this codebase, but for local development this is overkill. Set out below are instructions for spinning up a local instance with docker compose.

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 and clone this repository.

Warning

If you are using Windows, make sure the End-Of-Line character is not modified by the cloning process by setting the core.autocrlf setting to false: git config --global core.autocrlf false

Run:

cp .env.template .env

The environment will start with the OIDC mock server enabled by default.

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

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

If you want to disable the OIDC mock server (for anonymous access), you can run:

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

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

/etc/hosts

127.0.0.1 oidc.workadventure.localhost redis.workadventure.localhost play.workadventure.localhost traefik.workadventure.localhost matrix.workadventure.localhost extra.workadventure.localhost icon.workadventure.localhost map-storage.workadventure.localhost uploader.workadventure.localhost maps.workadventure.localhost api.workadventure.localhost front.workadventure.localhost

Troubleshooting

See our troubleshooting guide.

Go support Work Adventure:

Discord Logo X Social Logo LinkedIn Logo

About

so cooked...

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.8%
  • Svelte 20.3%
  • HTML 1.0%
  • JavaScript 0.9%
  • SCSS 0.8%
  • PHP 0.6%
  • Other 0.6%