- Docker installed locale (optional, only used for redis)
- Python3
- OpenAI Token
- Node v18
Go into the server folder and rename the .env.dist
to .env
then update the redis settings, so they will fit your local environment.
Also add your OpenAI Token
there.
Install all the needed python dependencies: requirements.txt
is provided.
You can use the provided docker-compose.yaml
to start up redis.
Make sure your redis is running. Then open a Terminal and navigate to the server
folder. Then run this command: python3 app.py
Important if you have configured the server to not run on 127.0.0.1
please make sure to update this line in the App.tsx
: socket = io('http:https://127.0.0.1:5000');
, this is for the socket.io
connection.
Then open a Terminal and navigate to the fifa-client
folder.
Then run this commands:
yarn install
yarn dev
This will start the client on http:https://localhost:3000