Skip to content

Latest commit

 

History

History
49 lines (48 loc) · 1.82 KB

README.md

File metadata and controls

49 lines (48 loc) · 1.82 KB

GameMuster(game-web-site)

GameMuster is a web application that parse games and tweets from IGDB and Twitter.

Installation

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=5432

You 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 =)

Or you can start with docker-compose

You need fill DATABASE_HOST to "db" (without quotes) after "=" and DATABASE_PORT to "5432" (without quotes) in .env file

docker-compose up --build

Screenshots

  • Main page Main
  • Login page Login
  • Signup page Signup
  • Profile page Profile
  • Musts page Musts
  • Game page Game