This repository contains the code for a SpaceTrader client (with some automations).
Learn more about this game here: https://spacetraders.io/
This project use:
- PHP 8.3
- Symfony 7.0
- RabbitMQ
- Redis
- PostgreSQL
- Node 20
- VueJS 3
- Tailwind (with DaisyUI)
These instructions will get you a copy of the project up and running on your local machine.
You will need Docker to run this project. Follow the Docker installation guide (https://docs.docker.com/get-docker/) to have it on your environment.
In folder .docker/php-cli
docker build -t spacetrader-cli:0.5 .
In Folder .docker/php-fpm
docker build -t spacetrader-fpm:0.5 .
Add spacetrader.local
to your /etc/hosts
10.20.0.2 spacetrader.local
Install PHP vendor
docker compose run --rm php-cli composer install
Install JS deps (without polluting your local with node)
docker run -v $PWD:/var/www -it node:latest /bin/sh
cd /var/www
npm ci
npm run build
You can also npm run dev
to watch assets files (it will rebuild automatically)
Launch the docker
docker compose up -d
Run the migrations
docker compose run --rm php-musicall bin/console doctrine:migration:migrate
Go to http:https://spacetrader.local
and enjoy !
- Add missing part of the game
- Add mercure
- Complete automation
- Improve the user interface
- and more things !