Linux suggested but not required. Volume mounts on WSL are extremely slow and cause high load times
Notes on Local Development
The renderer is an external service. All requests to the Renderer helper class will be ignored in local.
Setup
Login to Gitlab registry
docker login registry.gitlab.com
Username is Gitlab username, password being a personal access token from settings
Rename .env.example to .env
Modify APP_URL and SESSION_DOMAIN to the domain you wish to use. Tests use http://laravel-site.test
Overwrite DNS to point your local computer to that domain. Linux is located at /etc/hosts macOS at /private/etc/hosts and Windows at C:\Windows\System32\Drivers\etc\hosts.
← Return to project
Comments
Log in with itch.io to leave a comment.
What is your discord username?
how to set it up
Prerequisites
Notes on Local Development
Setup
Username is Gitlab username, password being a personal access token from settings
APP_URLandSESSION_DOMAINto the domain you wish to use. Tests usehttp://laravel-site.test/etc/hostsmacOS at/private/etc/hostsand Windows atC:\Windows\System32\Drivers\etc\hosts.docker-compose up -d. Note that this will keep it always running and you will have to rundocker-compose downto turn it off.docker-compose --profile all-services up -dTest NamepasswordDevelopment Tools
Anyone not using VSCode is invalid.
Suggested extensions
Code completion suggestions for Intelephense can be written using
Running Tests
Laravel tests are run with
docker-compose run app php artisan testPHPStan tests are run with
docker-compose run app ./vendor/bin/phpstan analyse --memory-limit=2GWhat is your discord username?
Not sure why it says play in browser, but you host the game either from your pc or the server the website is hosted on and play from there!