This project is aimed at scraping data from the DIPS website.
-
Clone the repository:
git clone https://github.com/your-username/dips-scraping.git
-
Navigate to the project directory:
cd dips-scraping
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the main script:
python main.py
-
The scraped data will be saved in the
data
directory.
Contributions are welcome! Please follow the guidelines in the CONTRIBUTING.md file.
This project is licensed under the MIT License.
To spin up a test database using Docker Compose, follow these steps:
-
Make sure you have Docker and Docker Compose installed on your machine.
-
Create a
docker-compose.yml
file in the root directory of your project with the following content:version: '3' services: db: image: postgres environment: POSTGRES_USER: your_username POSTGRES_PASSWORD: your_password POSTGRES_DB: your_database ports: - 5432:5432
-
Open a terminal and navigate to the root directory of your project.
-
Run the following command to start the test database:
docker-compose up -d
This will start a PostgreSQL database container with the specified credentials and expose port 5432.
-
You can now connect to the test database using the following connection details:
- Host: localhost
- Port: 5432
- Username: your_username
- Password: your_password
- Database: your_database
Here is an example directory structure for your project: