This application is a digital binder for trading card games that allows the user to effortlusly manage their physical card collections. It is written in python and powered by Django.
-
Install python3.12.X on your system. This varies by operating system but once youve dont this you should be able to run
python3 --version
in your terminal and getPython 3.12.X
as output. -
Clone this repository to your local system using
git clone git@github.com:ChicoState/TCG-Binder.git
. Then navigate to the directory you just cloned. -
Create a python virtual enviroment and activate it using the following commands.
python3 -m venv venv
&&source venv/bin/activate
. -
Install the required python packages using the following command.
python3 -m pip install -r requirements.txt
-
Launch the Django testing server using the command
python3 manage.py runserver
. You may have to also run the commandpython3 manage.py migrate
-
delete the current sqlite file you have in your project directory, we are going to start with a clean db file
-
run the db migrations using
python3 manage.py migrate
(if your on linux) or whatever command your platform uses -
create a super user account using
python3 manage.py createsuperuser
(if your on linux) or whatever command your platform uses -
run the application
-
Open the app, login as your admin account and navigate to /admin
-
Click on 'cards' from the left hand menue. Then once you are on the card page, click on import in the top right part of your screen.
-
Click on the browse button to select a file to import and navigate to TCG-Binder/static/data/cards_cleaned.json
-
Click the Submit button and wait for the preview to take place. This may take a couple of minutes.
-
Once the preview has taken place finish importing the cards by clicking confrim import. This process can take a few minutes to finish.