/pagywosg

Tool for "Play a game you won on SG" events. All progress of these events is being tracked here

Primary LanguagePHP

Install

  1. Install Docker (sudo apt-get install docker.io docker-compose)
  2. Enter the docker group (https://docs.docker.com/install/linux/linux-postinstall/ Manage Docker as a non-root user section)
  3. Run ./from-scratch.sh in project directory and follow instructions
  4. Ensure that project is up by looking at docker-compose ps command response in parallel command line. All states must be Up. If they're not, please run docker-compose up <container> where <container> is the container which isn't Up. Put results to the new Issue
  5. When all is Up you can open your project instance in browser: http://play-a-game.localhost/ or via https://play-a-game.localhost/

Regular start

./up

Access

After first start and authorization you will be granted regular user access. To add admin role to your profile, execute this command:

docker-compose exec backend console user:role:add insideone admin

but put your steam profile nickname or steamId instead of insideone

Update

You can update the site without wiping your user data:

./update

More docs