Skip to content

ZhengxuYan/rrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Repository Guide

Welcome to our project's repository! This README provides all the necessary information to get started with cloning the repository, setting up your development environment, collaborating with teammates, and running the project code.

Cloning the Repository

To clone the repository and start working on the project, follow the instructions provided by GitHub at GitHub Docs on Cloning a Repository.

For additional Git guides and best practices, refer to Git Guides.

Collaboration Workflow

Moving to the master Branch

To switch to the master branch:

git checkout master

Rebasing

To rebase and update your local repository:

git pull --rebase

Working on Feature Branches

To work on a feature branch:

git checkout my-feature-branch

Committing Changes

After implementing your feature, commit changes by only adding Python files (do not add __pycache__ or similar):

git add *.py
git commit -m "your message"
git push origin my-feature-branch

Rebasing onto master

Before merging, rebase your branch onto master:

git rebase master

Submitting Pull Requests

After rebasing, submit a pull request through the GitHub web interface. Wait for your peers to review your changes and merge them into the main branch.

Running the Code

Prerequisites

Ensure Python is installed on your machine. To install Python, visit Python Downloads.

Setting Up the Environment

  1. Navigate to the root project directory.

  2. Activate the virtual environment:

    • On macOS:
      source scrapyenv/bin/activate
    • On Windows:
      scrapyenv\Scripts\activate

Running the Project

Within the virtual environment, navigate to the rrid_project directory and start the crawler:

cd rrid_project
scrapy crawl arxiv
# or
scrapy crawl biorxiv

Installing Missing Packages

If you encounter missing packages, install them using pip:

pip install package_name

Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •