Giter Site home page Giter Site logo

Flask Demo/Example about jobtastic HOT 6 OPEN

policystat avatar policystat commented on August 16, 2024
Flask Demo/Example

from jobtastic.

Comments (6)

winhamwr avatar winhamwr commented on August 16, 2024

Hi Carl,

I don't know of a demo/example, but I'd sure love to see one. Did you run in to some trouble trying to use Jobtastic with Flask and Celery 3.1?

Thanks
-Wes

from jobtastic.

carlskii avatar carlskii commented on August 16, 2024

Yeah a bit a spent about 30 mins trying to get a basic app running but gave up. Thats why i was hoping for a basic simple demo.

from jobtastic.

winhamwr avatar winhamwr commented on August 16, 2024

Do you have it working without Jobtastic? What happens when you add Jobtastic? Traceback?

from jobtastic.

carlskii avatar carlskii commented on August 16, 2024

Yes I have a basic Flask/Celery app running and I can submit tasks to Celery, then get the result back. Not sure how to add Jobtastic to it though!

from jobtastic.

winhamwr avatar winhamwr commented on August 16, 2024

Whichever task that you'd like to be a Jobtastic task will need to extend from JobtasticTask and implement the calculate_result method, like in the [creating your first task](not looking for extra workhttps://github.com/PolicyStat/jobtastic#creating-your-first-task) example. That part shouldn't change because you're using Flask or Celery 3.1

Does that make sense?

from jobtastic.

carlskii avatar carlskii commented on August 16, 2024

OK - Ill give that a try tomorrow !

from jobtastic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.