The Django Search and Results app is an application to demonstarte the use of Django, PostgreSQL, Gunicorn and Docker
Django Search and Filter
http://143.198.233.67/
As a user, one should be able to do the following:
1. Search for an article by article title, author name or category
2. Search for article by minimum view and maximum view cound. One can also sarch by date published
3. Initially all the data stored in the database are displayed below the search form
4. When you search by a specific category, only the exact results are displayed below the search form.
- python3.8
- pip
- docker
-
In your terminal:
$ git clone https://github.com/thepsalmist/dj_search.git
-
To run the application, in your development:
$ docker-compose up -d --build
-
To run the application in a production environment
$ docker-compose -f docker-compose.prod.yml up -d --build
-
Ensure you create your environment variables for the following
$ SQL_DATABASE SQL_USER SQL_PASSWORD SQL_PORT SQL_HOST DATABASE_URL SECRET_KEY DEBUG
* Python3.8
* Docker
* Gunicorn
* Nginx
* PostgreSQL
MIT License Copyright (c) 2021 thepsalmist