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

Include other modules, like controller model? #4

Open
kithokit opened this issue Jul 30, 2014 · 1 comment
Open

Include other modules, like controller model? #4

kithokit opened this issue Jul 30, 2014 · 1 comment

Comments

@kithokit
Copy link

Hi,
I saw the iron worker example is great.
However, it is an example of uploading a single node.js file which run a few command of code.

My web application code is using express.js. It has a number of controllers and models.
My problem is that my worker process would like to do some complicated job which could make use of my application code and its related controllers and models.

Can I achieve that?

Thanks

@rkononov
Copy link
Contributor

Hey, you could merge any files/folders check this one - http://dev.iron.io/worker/reference/dotworker/#syntax_reference

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