I need to find the actual line from the paragraph, and the paragraph drawing by the markdown editor you can add a checkbox, radio, textbox, and paragraph through the editor. The actual str is something like this, Do all question types have to start with ?[sometext], so I can use this regex radio -> [?] ?[([0-9a-z_].?)]({(?:[^{}]|?)})? ?[?(.?)]? ?[=] ?() ?({[0-9,]+})?([^]?)(nn|^n)
Tag: ruby-on-rails
Heroku: Run a Rails application with a Python script on the same instance
I have a Python script in the /app/bin directory of my Rails app that contains a requirements.txt file that includes all of the dependencies it relies on. How do I get it to run on the same Heroku instance that my Rails app currently runs on (my Rails app call the python script occasionally). Here’s what I’ve tried so far:
How to run python script inside rails application in heroku?
I have a rails application hosted in heroku. I also wrote a web scraper using scrapy in python. I need to run the python script from the rails application in heroku,I will explain with an example. Eg:The user will input the url to scrape in my rails app.Then the rails app give control to python script to scrape data which