An application to help select board games and organize them.
Before starting, ensure you have the following installed:
- Python 3.11 or higher
- Node.js 18 or higher
- npm 10 or higher
- PostgreSQL 16
- pgAdmin (optional, for managing the database)
- PyCharm (optional, for development)
Ensure you have an SSH key added to your GitHub account. Then, clone the repository:
git clone git@github.com:PKrystian/Talis.git
cd Talis
python -m pip install --user pipx
export PATH="$PATH:`python -m site --user-base`/Scripts"
chmod +x build.sh
./build.sh install-poetry
./build.sh install
psql
CREATE DATABASE db_dev;
CREATE USER postgres WITH PASSWORD 'local';
- Open pgAdmin and log in.
- Navigate to Databases -> Create -> Database.
- Set the database name to
db_dev
and confirm. - Go to Login Roles -> Create -> Login Role.
- Set the username to
postgres
and the password tolocal
, then confirm.
Set up the required environment variables:
export DEBUG=True
export DEVELOPMENT_MODE=True
export DEVELOPMENT_PASSWORD="your_password"
export DEVELOPMENT_PORT="your_port"
Replace your_password
and your_port
with your actual values. If the PostgreSQL password is local
, you can skip setting DEVELOPMENT_PASSWORD
.
./build.sh run
After the process completes, the application will be accessible in the browser at the URL displayed in the terminal.
To access the admin panel, create a superuser:
poetry run python manage.py createsuperuser
Follow the terminal instructions to set up the username, email, and password.
- Open your browser and go to the URL displayed in the terminal.
- To access the admin panel, append
/admin
to the URL and log in with your superuser credentials or log in on the main page and click Admin Panel tab on the user dropdown menu in the top right corner.
This project is licensed under the MIT License - see the LICENSE file for details.