Skip to content
Snippets Groups Projects
.env.template 1.44 KiB
Newer Older
  • Learn to ignore specific revisions
  • dnns01's avatar
    dnns01 committed
    # Template .env File
    
    
    ########################################################################################################################
    #                                                        Django                                                        #
    ########################################################################################################################
    #General
    DJANGO_SECRET=<Secrect used by Django>
    DJANGO_ALLOWED_HOST1=<First allowed host>
    DJANGO_ALLOWED_HOST2=<Second allowed host>
    DJANGO_DEBUG=True
    
    ########################################################################################################################
    #                                                      Twitch Bot                                                      #
    ########################################################################################################################
    #General
    
    dnns01's avatar
    dnns01 committed
    IRC_TOKEN=oauth:<OAuth Token to be used for login. Can be generated by using https://twitchapps.com/tmi/>
    
    CLIENT_ID=<Client ID>
    CLIENT_SECRET=<Client Secret>
    
    dnns01's avatar
    dnns01 committed
    NICK=<Nick of the user the OAuth Token was generated for>
    CHANNEL=<Channel that should be entered>
    PREFIX=!
    
    BROADCASTER_ID=<Twitch Channel ID>
    REDIRECT_URI=<Redirect URI used for Twitch API>
    
    dnns01's avatar
    dnns01 committed
    
    
    # Vote Bot
    VOTE_DELAY_END=5
    VOTE_DELAY_INTERIM=20
    VOTE_MIN_VOTES=10
    
    VOTE_PLUS=haugePlus
    VOTE_MINUS=haugeMinus
    
    kritzl's avatar
    kritzl committed
    VOTE_NEUTRAL=haugeNeutral
    
    # Redis Server
    REDIS_HOST=127.0.0.1
    REDIS_PORT=6379
    REDIS_DB=0
    REDIS_PW=