Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 1.89 KB

README.md

File metadata and controls

77 lines (49 loc) · 1.89 KB

Django Music Album App

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.

Installation

  1. Clone the repository:

    git clone https://github.com/FREDVUNI/django-music-blog.git
  2. Navigate to the project directory:

    cd django-music-blog/website
  3. Install dependencies:

    pip install -r requirements.txt
  4. Create a .env file by copying .env.example and updating the values for your local environment:

    cp .env.example .env
  5. Since we are using SQLite, ensure that your DATABASES setting in settings.py is configured correctly (the default settings provided in the template should work out of the box).

  6. Run database migrations:

    python manage.py migrate
  7. Create a superuser account:

    python manage.py createsuperuser
  8. Start the development server:

    python manage.py runserver

Usage

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.

Screenshots

Screenshot 1

image

Screenshot 2

image

Screenshot 3

image

Technologies Used

  • Django
  • sQLite
  • HTML/CSS
  • Bootstrap

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request.