Skip to content

A web-app for "hoops" (a basketball league) made with Django, Bootstrap & Postgres.

Notifications You must be signed in to change notification settings

spektra/django-hoops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-hoops

A web-app for "hoops" (a basketball league) made with Django, Bootstrap & Postgres.

Environment variables go in a file called '.env' in the main directory (not for production).

# [DISCORD OAUTH2]
DISCORD_AUTH_URL = "get_your_own"
CLIENT_ID = "get_your_own"
CLIENT_SECRET = "get_your_own"
GRANT_TYPE = "authorization_code"
REDIRECT_URI = "http://localhost:8000/login/discord/redirect" 
SCOPE = "identify guilds"

# [DISCORD GUILDS]
HOOPS_GUILD_ID = "discord_server_id"

# [SECRET KEYS]
DJANGO_SECRET_KEY = "make_your_own"

# [OTHERS]
DEVELOPMENT_MODE = "True"
DATABASE_URL = "sqlite:///db.sqlite3"
DEBUG = "True"
MOTD = "MOTD: The Pittsburgh Force are the worst team in the league."

About

A web-app for "hoops" (a basketball league) made with Django, Bootstrap & Postgres.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.4%
  • HTML 44.1%
  • JavaScript 1.3%
  • CSS 0.2%