Starting with pyfarm

97 views
Skip to first unread message

haggi krey

unread,
Jun 5, 2017, 8:04:09 AM6/5/17
to pyfarm
Hi,

I'm trying to use pyfarm to get more familiar with it and to learn how it works and on the other side to write a review on my website www.renderwiki.com.
Well, I installed CentOS in a virtual machine, cloned the pyfarm repositories pyfarm-master and pyfarm-agent. Then I installed the dependencies with pip install -e . --egg as recommended in the docs. I'm still a beginner with linux and relearning it since I stopped using irix 18 years ago....

Well, now I'm a bit unsure how to proceed. I suppose I have to install or start a database (postgresql ?). Then I suppose I have to start the master and the agents with some options. Do you have any additional documents how to proceed? Would be quite helpful.

Oliver Palmer

unread,
Jun 6, 2017, 7:17:11 AM6/6/17
to haggi krey, pyfarm
So you might want to try using sqllite to start with which should require the minimal amount of setup and that's the default in the config:

https://pyfarm.readthedocs.io/projects/pyfarm-master/en/latest/configuration.html

You could setup Postgres or MySQL if you wish but for basic testing sqllite will probably be sufficient. You're right that there's the master and agent but there's also the scheduler that requires celery to run. The master can be run with `pyfarm-master`, which wraps up creating the tables/running the interface/APIs, but doesn't cover the scheduler. Unfortunately, documentation right now is fairly lacking in the getting started department and I don't have any good examples myself that would be helpful to you.

--
You received this message because you are subscribed to the Google Groups "pyfarm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyfarm+unsubscribe@googlegroups.com.
To post to this group, send email to pyf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyfarm/0d6e2c91-1fa0-4874-85da-3914511bbe00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages