Taught you how to use HeroKu free access to a cluster Scrapyd

Taught you how to use HeroKu free access to a cluster Scrapyd

This article Original Address: https://sitoi.cn/posts/48724.html

Preparing the environment

  • A GitHub account
  • A HeroKu account

Steps

  • Create a code repository use GitHub account

  • Login HeroKu create and configure App

Create a code repository

PS: I want to be lazy, direct fork like my project

Project Address: https://github.com/Sitoi/scrapyd-heroku

Fork finished you have completed half of the work of the project, you happy, excited about it, only half a step.

Fork is not the way they want it, not ready, you have to make yourself.

Login HeroKu create and configure App

  1. Login https://signup.heroku.com/ Create an account

Home

  1. Just create a finished entering the home is long like this, in the middle of the page, click Create new appto create our first project, then click, you will enter into the following interface:

Create new app

  1. Type what you'd get at the interface of the project name , project name determined after the URLaddress. Select the region, like the default, and finally click CreateCreate app

APP interface

Connect to GitHub

  1. At this point you also have entered into the APP page, click on the GitHubbutton, then click Connect to GitHubLet us GitHubassociate.

After a successful search for items associated

  1. This represents an association is successful, we are going to search the project, before the project Fork found. Click on the right of the item Connectbutton HeroKu and our GitHub project associate.

Creating automatic deployment and implementation of this deployment

  1. After successful association, select 自动部署the 分支select 本次部署the 分支Click 部署to

Ongoing deployment

  1. The page displays content that you 已经自动部署have 开起, and 当前部署also 正在执行, the rest just 静静等待like

The deployment is complete

  1. Congratulations to the page you see, have completed the tutorial, like a mention Scrapyd, click Viewto jump to Scrapyd Webthe interface

Scrapyd Web

Each HeroKu can create 5 APP, the next, just repeat the above process to create a thousand million.

Guess you like

Origin www.cnblogs.com/sitoi/p/11819584.html