migromarj / MercaCoche

Website developed to help users find their ideal car, offering cars from the main second-hand car sales websites, such as Autocasión, coches.com and motor.es.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MercaCoche

Website developed to help users find their ideal car, offering cars from the main second-hand car sales websites, such as Autocasión, coches.com and motor.es.

Local Installation

Pre-requirements

Steps

  1. To run the project locally, open a command console and run the following commands:

    pip install pipenv
    
    pipenv shell
    
    git clone https://github.com/migromarj/MercaCoche.git
    
    cd MercaCoche
    
    pip install -r requirements.txt
    
  2. This project uses environment variables that need to be set before running the project, you will need to create a file called ".env" inside the directory with the following content:

    DJANGO_SECRET_KEY = 'django-insecure-+_1ct^%h8*2ht5z_zu#h)()hx%2$b*fip$rd6+jvxoh0y&m1l8'
    

    An example django secret key is given here, but the best option is to have it generated by the user himself, knowing that it is a key that is used to encrypt sensitive data in the django application, and is at least 50 characters long.

  3. Now we will proceed to run the project, executing the following commands in a console inside the directory:

    python manage.py makemigrations
    
    python manage.py migrate
    
    python manage.py runserver
    
  4. If you've gotten to this point without any errors, you should be running the project locally successfully. You can access the initial route through the following link: http://localhost:8000

Web Images

MercaCoche load data

MercaCoche index

MercaCoche specific cars

MercaCoche car details first part

MercaCoche car details second part

About

Website developed to help users find their ideal car, offering cars from the main second-hand car sales websites, such as Autocasión, coches.com and motor.es.


Languages

Language:Python 61.0%Language:HTML 29.4%Language:CSS 9.6%