This repository contains the code for my awesome project. Check out the http://destinations-catalogue.eu/ to see it in action!
- Features
- Installation
- Technologies Used
- Demo
- License
- More pictures
- User authentication and registration
- Browse and search for destinations
- Add, edit, and delete destinations
- User-friendly interface with a responsive design
- Clone the repository:
git clone https://github.com/GalkaKG/Destinations_Catalogue.git - Set up a virtual environment (optional, but recommended)
pip install virtualenv
cd Destinations_Catalogue
python -m virtualenv venv
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate - Install project dependencies:
pip install -r requirements.txt - Set up environment variables
- Apply database migrations:
python manage.py makemigrations
python manage.py migrate - Create a superuser (optional)
python manage.py createsuperuser - Run the development server:
python manage.py runserver
Important: Before running the project, you need to set up the database with initial data. To do this, upload the file data-db.sql to the Docker PostgreSQL container under "Files" and then execute the following command in the Docker terminal:
psql -h localhost -p 5432 -U postgres-user -d destinations_catalogue_db -f data-db.sql
You may need to run this command two or three times until there is data in the table "explore_attraction".
- Django
- HTML, CSS, JavaScript
- PostgreSQL
- Google Maps API
- SMTP server for sending password reset emails
- MIT License