Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 2.83 KB

README.md

File metadata and controls

89 lines (63 loc) · 2.83 KB

LushLyrics-secure Django

Live at: lushlyrics

Setup

The first thing to do is to clone the repository:

$ git clone https://github.com/Jesulayomy/Lushlyrics-secure.git
$ cd lushlyrics-webapp-django-main

Create a virtual environment to install dependencies in and activate it:

$ python3 -m venv .venv
$ source .venv/bin/activate

Then install the dependencies:

(.venv)$ pip install -r requirements.txt

Note the (.venv) in front of the prompt. This indicates that this terminal session operates in a virtual environment set up by venv.

Once pip has finished downloading the dependencies, for a fresh install, run the following commands to make migrations and create a superuser:

(.venv)$ python manage.py makemigrations
(.venv)$ python manage.py migrate
(.venv)$ python manage.py createsuperuser

Then run the server:

(.venv)$ python manage.py runserver

When locally running with DEBUG = False, you will need to run the server with the --insecure flag:

# settings.py
DEBUG = False
(.venv)$ python manage.py runserver --insecure

And navigate to http://127.0.0.1:8000/.

Changelog

The following improvements were made to the original project:

July 11, 2024

  • [Fix]: Email login and replaced missing icons

Jan 22, 2024

  • [Doc]: Steps on recreating the application
  • [Style]: Html proper formatting and corrections
  • [Style]: Conform all python files to pycodestyle, removed redundant files
  • [Feature]: Custom error pages
  • [Feature]: Added password reset feature

Jan 21, 2024

  • [Feature]: signup errors and form styling
  • [Feature]: Added verbose errors for invalid user and passwords, Integrated login by extending template
  • [Feature]: Restricted site access to logged in users
  • [Solve]: Redirected anon user playlist to login page
  • [Feature]: Logout for users
  • [Auth]: User authentication and playlist pages
  • [Del]: Removed extra login form

Jan 2, 2024

  • [Base]: Created files from fork

Contributors

Lushlyrics-insecure Lushlyrics-secure
mohammedwed Jesulayomy
mohammedwed Jesulayomy