GameMuster is a web application that parse games and tweets from IGDB and Twitter.
Create empty django-application and get SECRET_KEY from it Clone repo from github using git
git clone https://github.com/smnenko/game-web-site.git
Configure python virtual environment (good practice) and run next command from root directory
pip install -r requirements.txt
Go to .env file and fill all fields
Example:
SECRET_KEY=mscb#cvbrtrtsxzcz#x*aw1@nrft#nnrtf95t#ndd0az^+
DATABASE_NAME=game-web-site
DATABASE_USER=postgres
DATABASE_PASS=postgres
DATABASE_HOST=localhost
DATABASE_PORT=5432You also need to create PostgreSQL database with DATABASE_NAME that you filled
Run next commands in root directory (use python3 on linux os)
python manage.py migrate
python manage.py loaddata initial.json
python manage.py runserver
Go to https://localhost:8000/ and be fine =)
You need fill DATABASE_HOST to "db" (without quotes) after "=" and DATABASE_PORT to "5432" (without quotes) in .env file
docker-compose up --build