Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.34 KB

README.md

File metadata and controls

54 lines (45 loc) · 1.34 KB

Recon

This project focuses on web scraping and extracting information from websites.

How to use this Project:

  1. Activate virtual environment:

    • Go to the project directory and open terminal.
    • Run the following command to create a virtual env:
      python -m venv .venv
      
    • Run this command to activate your virtual env
      .venv/Scripts/activate //windows
      source .venv/bin/activate //linux
      
  2. Install requirements:

    • Run the following command in the opened terminal:
      pip install -r requirements.txt
      

Warning

it may take a few minutes to install requirements and it need a non restricted area

  1. Set your environment variables:

    • go to djecrety and get a secret key
    • create a new file named .env and paste this :
      SECRET_KEY=your secret key from djecrety
      DEBUG= True
      ALLOWED_HOSTS= localhost,127.0.0.1
      
  2. Migrate the Database:

    • Run the following command to migrate database:
      python manage.py migrate
      
  3. Run the Server:

    • Execute the following command:
      python manage.py runserver
      
  4. Use the project with web interface:

    • Open your browser and enter this url
      localhost:8000
      

Enjoy your experience!