Skip to content

teraflik/frag-fest-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frag-Fest Event Platform

Things to complete

  • Register and Login for users
  • Sign in with Steam
  • Profile View and Edit
  • Frontend - Home, CS:GO, FIFA, All Games, Organizers
  • Front-end - The Event, Schedule, Sponsors, Sponsor-Strip, Privacy Policy
  • Back-end - Team Dashboard (Join, or Create)
  • Back-end - Team Dashboard (Edit Description, Remove Player, Join Notification)

To run on your system

  • Install Python 3.6
  • (for windows) Add Python installation to your PATH
  • Run the following in terminal:
    cd frag-fest-platform
    mv .env.EXAMPLE .env
    pip install -r requirements.txt
    python manage.py collectstatic
    python manage.py migrate
    python manage.py runserver

Navigate to 127.0.0.1:8000 in your browser. Linux users may need to use python3 instead of python.

Run using docker

version: '3'

services:
  frag-fest:
    image: teraflik/frag-fest-platform:latest
    env_file: .env
    ports:
      - "8000:8000"
  postgres:
    image: postgres:11-alpine
    container_name: postgres
    restart: always
    ports:
      - "5432"
    volumes:
      - ./data:/var/lib/postgresql/data
    env_file:
      - postgres.env

Contributing to front-end

  • You can open the folder in a text editor like Sublime-text, Atom, Visual Studio Code, etc.
  • To make changes in front-end, make sure you first go through Django Templating Language and have a knowledge of Bootstrap v4.
  • Navigate to portal/templates/.. to find out the template to modify.
  • You can put all static files to portal/static/portal/... relevant directory.

Updating webserver

source bin/activate
cd frag-fest-platform
git pull origin master
python manage.py collectstatic
python manage.py migrate
sudo supervisorctl restart frag-fest