io-aggregator is a website designed for InternetoweOkazje S.A. which is an online shopping aggregator website. The site allows for selecting multiple products and finding a common seller, which lowers the shopping cart’s total sum. Additional features include: Allegro.pl filtering, User registration and login, and searching for multiple products using a text file.
- Python 3.10 or higher
- pip3
- venv
- Clone the repository from Git:
git clone https://github.com/PiotrWodecki/io-aggregator.git
- Create a virtual environment:
python3 -m venv myenv
- Activate the virtual environment:
source myenv/bin/activate
- Install the required packages from requirements.txt:
pip3 install -r requirements.txt
- Migrate DB:
python3 manage.py migrate
- Run the Django project:
python3 manage.py runserver
You have successfully set up the Django project with virtual environment and required packages.
To achieve full SMTP functionality, add EMAIL_HOST_USER
and EMAIL_HOST_PASSWORD
environment variables, otherwise emails will be saved to /tmp/app-messages
.
Recommended deployment stack is Apache + mod_wsgi.
First, clone the repository and follow the official Django deployment checklist to prepare the website for serving.
Secondly, we recommend following DigitalOcean's guide for deployment details. Any missing details can be found in this Django tutorial.