![]() To do so, we need to edit the nginx config file included in the nginx package, which you either installed manually or with the installer.įirst remove the default enabled sites on nginx: We need to proxy behing nginx to access the site from a mobile device (where browsers cannot access something thats only avaliable to that machine). (To exit, press Control-X, then Y then Enter.) Website Config Press Control-V to go to the end of the document (don’t remove anything), and paste in these variables. If you are fine with not having some features work, simply remove the variable value and leave the empty assignment. Now that all the dependencies are installed we can move onto confgiuring some of the variables.Įxport OAUTH2_CLIENT_ID=Discord client ID for your botĮxport OAUTH2_CLIENT_SECRET=your Discord bot's client secretĮxport OAUTH2_REDIRECT_URI= (change to your domain if needed.)Įxport MAL_USERNAME=username for account on Įxport MAL_PASSWORD=password for above siteĮxport TWITCH_CLIENT_ID=client ID for a twitch appĮxport SECRET_KEY=1111 ***Change to a longer code, preferably longer than this*** ![]() Use chmod to make the installer executable: chat-bot & pip3 install -r requirements.txt Automatic Installation Then we will do the same command, but for the chat script:Ĭd. First, we will install for the website script:Ĭd mee6/website & pip3 install -r requirements.txt ![]() Then, we need pip to install the necessary packages for the website script and the chat script. The next thing we need to do is clone this repo from github: Manual installationĪpt install -y python3 python3-pip redis-server nginx You can install automatic or manually, see below. ![]() There’s nothing wrong with using a virtual machine. We will be using Ubuntu 14 for this tutorial, but linux systems that use apt package manager like Mint, CentOS, Debian, and Raspbian should work fine. DOES NOT WORK WITH PYTHON 2 OR PYTHON 3.4 NOTE: This only words with Python 3.5/3.6, but we will use Python 3.5. Mee6 Selfhosting Guide | mee6-docs mee6-docs View on GitHub Mee6 Selfhosting Guide
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |