Add procfile for Heroku deployment
Hi, Proc file is missing for deployment on Heroku. Can you provide some assistance for the same?
I don't use the Heroku platform but once you first push the app, you'll have to do this in the environment:
- Make sure
virtualenvis installed (pip install virtualenvI think, Heroku presumably has Python already) - Make sure your
pwdis the root of this repo virtualenv venv./venv/scripts/activate.shpip install -r requirements.txt
And from then on to start the app it's just a matter of ./venv/scripts/activate.sh then python run.py.
So your procfile (I'm not that familiar with them either) might look like:
web: ./venv/scripts/activate.sh; python run.py
Assuming you don't need fully qualified paths and semi-colons are allowed.
If this works or you figure it out, feel free to open a pull request. 👍
Thank you for the information on Heroku. I want to integrate this tool into another existing scanner. Is there an API that I can use to extend jawfish?
Not the way it's currently written - I coded this as a younger, more naive developer. At the moment the bulk of its work is client-side (in-browser).
I agree that it would be more useful in such a setup. It could be included in a devops pipeline. The UI could go to Electron from the current browser-based solution.
Opening a separate issue.