Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web interface on heroku using port 80? #32

Open
BenjiWilson opened this issue Dec 30, 2020 · 1 comment
Open

Web interface on heroku using port 80? #32

BenjiWilson opened this issue Dec 30, 2020 · 1 comment

Comments

@BenjiWilson
Copy link

Is there any way to use port 80 and a subdirectory URL for the web interface? Heroku can't use anything other than port 80.

Great tool -- thank you.

@ljanyst
Copy link
Owner

ljanyst commented Dec 30, 2020

You can specify the port in the configuration file. See the documentation here:

https://scrapy-do.readthedocs.io/en/v0.5.0/server-configuration.html

You can also configure the location of the web modules like this:

https://github.com/ljanyst/scrapy-do/blob/master/scrapy_do/default.conf

However, this may only work for leaf nodes. I never actually had any need for this. The UI JavaScript code may need some adjustments.

I am happy to accept a pull request implementing this, but have no time or need to work on this myself. If you decide to submit a pull request, please make sure it follows the commit conventions used in the project and that you maintain the full test coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants