GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DropMuse/DropMuse: 🎧 Playlist Recommendation Service

BranchesTags
Open more actions menu

Latest commit

 

History

237 Commits
237 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
scripts
scripts
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
DropMuse.png
DropMuse.png
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
run.py
run.py
 
 
tables.sql
tables.sql
 
 

Repository files navigation

DropMuse

Install / Setup

  1. Clone repo:

    git clone https://github.com/DropMuse/DropMuse
    cd DropMuse
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Install necessary NLTK data:

    python -m nltk.downloader punkt stopwords vader_lexicon
    
  4. Copy .env template:

    cp .env.template .env
    
  5. Add your local DB credentials to your .env.

  6. Create the SQL tables from tables.sql in your database.

Production setup

Database Setup

Set the following environment variables accordingly (or add to app/.env):

  • DB_USER - MySQL username
  • DB_PASS - MySQL password
  • DB_HOST - MySQL server hostname
  • DB_PORT - MySQL server port
  • DB_DBNAME - MySQL database
  • DB_PREFIX - URI scheme to use for connecting to the db. (Defaults to mysql+pymysql://)

Alternatively, you can set DATABASE_URL to specify the full URL. (Used for Heroku)

Spotify Setup

Set the following environment variables accordingly (or add to app/.env):

  • SPOTIFY_CLIENT_ID
  • SPOTIFY_CLIENT_SECRET

You can obtain a CLIENT_ID and CLIENT_SECRET here. Use http://SERVER_HOST:PORT/spotify/callback as the Redirect URI when setting up the app.

Misc

  • SERVER_NAME - Defaults to 0.0.0.0:{PORT}. Used to construct Spotify callback URL.
  • PORT - Defaults to 5000. Flask server port. Used to construct Spotify callback URL.

Run the app

python run.py

About

🎧 Playlist Recommendation Service

dropm.us

Topics

database

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.