You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a python environment for the scrapyd user
and install scrapyd and its dependencies in it.
make sure the init script runs scrapyd using this environment
(This is the only part I haven't yet tried)
To a seasoned sysadmin, it's a matter of minutes.
The fancy part is to set up a python environment
to be used by the scrapyd user and its init script.
This is necessary as scrapyd may not agree
with the packages or package versions
used by the system python.
(also, not all required python packages may be system packages)
The text was updated successfully, but these errors were encountered:
Digenis
changed the title
scrapyd no longer provides an easy way to do a system instal
scrapyd no longer provides an easy way to do a system install
Nov 20, 2017
If using the above, you will need to create /var/log/scrapyd/, owned by the user.
The only undocumented part is the systemd.service file, but these are easy to write if you read systemd's documentation. There are many service managers – I don't think it's our responsibility to document them.
Even before the ubuntu packages got deprecated (#252)
the scrapyd builds for ubuntu/debian where quite unusable.
We should have instructions on how to do a system install.
The current steps, as seen in the debian/ folder
are as follows:
seen in https://github.com/scrapy/scrapyd/blob/1.2/debian/scrapyd.dirs
as seen in https://github.com/scrapy/scrapyd/blob/1.2/debian/scrapyd.postinst
based on https://github.com/scrapy/scrapyd/blob/1.2/debian/scrapyd.init
and install scrapyd and its dependencies in it.
(This is the only part I haven't yet tried)
To a seasoned sysadmin, it's a matter of minutes.
The fancy part is to set up a python environment
to be used by the scrapyd user and its init script.
This is necessary as scrapyd may not agree
with the packages or package versions
used by the system python.
(also, not all required python packages may be system packages)
The text was updated successfully, but these errors were encountered: