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
-
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
-
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.
-
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
-
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