tunez
A music player web application built using Flask + HowlerJS + SQLite. The appliciation is vaguely divided into three blueprints: user facing music player, user authentication and authorization, and a simple song management CMS
prerequisites
python3
Gmail account
(for sending account activation email)
and dependencies listed in requirements
.
quickstart
To run the application:
- clone repo
git clone git@github.com:abmamo/music.git
- create virtual environment
cd tunez && python3 -m venv venv
- activate virtual env
source venv/bin/activate
- install dependencies
pip install -r requirements/development.txt
- create and store configuration in .env (sample stored in .env.sample)
# app config DOMAIN = "http://127.0.0.1:5000" ENVIRONMENT = "development" # mail config MAIL_SERVER = "mail server for e.g. smtp.google.com" MAIL_USERNAME = "mail address" MAIL_PASSWORD = "mail password" # admin config USER_EMAIL = "sign in email here" USER_PASSWORD = "sign in password here"
- start music player
python wsgi.py