ConvertBot part of ImageConverter project
Authors:
Lukasz Martyka - lmartyka@gmail.com
Marcin Walas - mbwalas@gmail.com
Grzegorz Lyczba
Copyright 2009 Dreamlab Onet.pl Sp. z o.o.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=== SIMPLE INSTRUCTION OF USAGE ===
for more information please read project wiki on sourceforge.net
== Using Convertbot ==
= Directly from console =
You can use ConvertBot directly from console but then you must configure it in this way:
1) export PYTHONPATH
export PYTHONPATH=PATH_TO_IMAGECONVERTER/ # path to root directory of project
2) then go to the convertbot folder in project root directory
cd PATH_TO_IMAGECONVERTER/convertbot
3) you can now run server or worker:
python server.py
python worker.py
= From python =
1) go to the convertbot folder in project root directory
cd PATH_TO_IMAGECONVERTER/convertbot
2) import server or worker
>>> import convertbot.server
3) run server/worker
>>> convertbot.server.main()
don't forget to set PYTHONPATH (see INSTALL)