/Gerapy

Distributed Management Framework Based on Scrapy and Scrapyd

Primary LanguageJavaScriptMIT LicenseMIT

Gerapy

Distributed Management Framework Based on Scrapy and Scrapyd.

Support

Gerapy is developed over Python 3.x. Python 2.x will be supported later.

Installation

pip3 install gerapy

Usage

After installing Gerapy, you can use command 'gerapy'. If not, check the installation.

Next use this command to initialize the workspace:

gerapy init

Now you will get a folder named gerapy.

Then cd to this folder, and run this command to initialize the Database:

cd gerapy
gerapy migrate

Next you can runserver by this command:

gerapy runserver

Then you can visit http://localhost:8000 to enjoy it.

You can create a configurable project and then configure and generate code automatically.

Also you can drag your Scrapy Project to gerapy/projects folder. Then refresh web, it will appear in the Project Index Page and comes to un-configurable, but you can edit this project in the web interface.

As for the deploy, you can move to Deploy Page. Firstly you need to build your project and add client, then you can deploy the project by clicking button.

After the deployment, you can manage the job in Monitor Page.

Preview

Client Management:

Spider Monitor:

Project Management:

Project Edit:

Project Deploy:

Project Configuration: