You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2022. It is now read-only.
lorebenzo edited this page Jul 1, 2022
·
6 revisions
Server
Database
To run the server, you need a PostgreSQL database.
You can run it on your machine, or with Docker.
Docker
If you are going to use docker, when the image is created, you'll have already users and mocked data set up.
You can find the SQL scripts at /scripts/db/.
Install Docker
Mac/Linux
Run the Docker Image with DockerCompose, it'll build the image the first time
make up
Windows
Build the Docker Image
docker-compose build
Run the Docker Image with DockerCompose
docker-compose up
Server
The Server connects to the database, looking in the .env file in the root directory.
The default configuration of the database is:
DB_HOST: localhost
DB_NAME: game
DB_USER: user
DB_PASSWORD: password