This is a Django app that displays a collection of music albums, allows users to mark favorite albums, and provides a search functionality for finding albums by title or artist.
-
Clone the repository:
git clone https://github.com/FREDVUNI/django-music-blog.git
-
Navigate to the project directory:
cd django-music-blog/website
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file by copying.env.example
and updating the values for your local environment:cp .env.example .env
-
Since we are using SQLite, ensure that your
DATABASES
setting insettings.py
is configured correctly (the default settings provided in the template should work out of the box). -
Run database migrations:
python manage.py migrate
-
Create a superuser account:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
To access the app, navigate to http://localhost:8000
in your browser. You can view a list of music albums, mark favorite albums, and search for albums by title or artist.
To add new albums, log in to the admin interface at http://localhost:8000/admin/
using your superuser account and add albums to the Albums
table.
- Django
- sQLite
- HTML/CSS
- Bootstrap
If you would like to contribute to this project, please fork the repository and submit a pull request.