• Home
  • About
    • FuzzyGrim

      Another computer enthusiast

    • Email
    • Matrix
    • Github
    • RSS
    • Learn More
  • Posts
    • All Posts
    • All Tags
  • Projects
  • Seasons

SummonerStats

09 Dec 2022 / 1 minute

About The Project

screenshot

SummonerStats is a site that provides League of Legends summoner’s stats.

Built With

  • Django, a high-level Python Web framework.
  • Bootstrap, a free and responsive framework for faster and easier web development.
  • Sqlite3, a small, fast, self-contained SQL database engine.
  • JQuery, a fast, small, and feature-rich JavaScript library.

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Install Python 3
  2. Get a free API Key at Riot Developer Portal
  3. Clone the repo
     git clone https://github.com/FuzzyGrim/SummonerStats.git
    
  4. Install Python dependencies
     pip install -r requirements.txt
    
  5. Create .env file and add your API Key
     API = 'ENTER YOUR API';
    
  6. Generate a Django secret key
     python -c "import secrets; print(secrets.token_urlsafe())"
    
  7. Add the secret key to the .env file
     SECRET = 'ENTER YOUR SECRET';
    
  8. Apply migrations
     python manage.py migrate
    
  9. Run server
     python manage.py runserver
    
  10. Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser

License

Distributed under the GPLv3 License. See LICENSE for more information.



projectpython
Toot RSS Kofi