-
Once installed, open terminal ( console) in the directory where you stored Songify. Then execute
cd Songify
-
Install all libraries from requirements.txt using
pip install -r requirements.txt
-
Grant permissions to files:
chmod -x app.py chmod a+x create-table.py
-
To setup the SQLite3 db, you need to execute a python script:
python create-table.py
Note: Currently you need not execute above statement if you are able to open
musicDB.db
in your local machine. -
This will create file,
musicDB.db
. You can open it usingsqlitebrowser
. -
If you don't have sqlitebrowser, follow the steps to download this by clicking here
-
Once the db is created you can run the server using following command:
python app.py
-
Open the project in web browser using
Click "Create New Song" button in homepage.
Click "View" button in homepage of that particular song division.
This link is unique for every song.
Click the "three dot menu button" of the audio file of the song division that you want to download. You get prompt to "Download". Click to download the song.
Updated data change visible in homepage
Click "Delete" button in homepage in the song division that you want to delete. The view of homepage once you delete song with ID:1.