eoyilmaz / anima

VFX & Animation Pipeline Library
MIT License
137 stars 27 forks source link

How can I create Projects and Tasks for anima? #6

Closed tws0002 closed 7 years ago

tws0002 commented 7 years ago

Hi Erkan's,

How can I create Projects and Tasks for anima? I don't know how to create a database to store all the user, task, project and etc in a database!! can u please give me some idea to create a data for user login, project and task. how can I manage my folder structure? Is anima ready for nuke ,houdini and photoshop? I'm new in doing studio pipeline!!

Thanks Desmond

eoyilmaz commented 7 years ago

Yes it can. Creating your first Project is a little bit daunting, but when you finish setting it up, consequent projects are easy to setup, and it is much much better if you build your own GUI around it.

Did you follow the tutorial here (I don't know if it is up to date by the way):

https://www.pythonhosted.org/stalker/index.html

It doesn't explain how to create a database, but it is easy: just download PoatgreSQL and install it (if you are under Linux then use your distributions own package manager to download and install it). Then create a user in the database for yourself (ex: stalker_admin) and give it a password (ex:stalker). And then create a database in it with the name "stalker". (You need to search for things like "how to create a user in Posetgresql" and "how to create a database in Postgresql").

And then install Psycopg2, Sqlalchemy, Jinja2, Pytz and then Stalker to reach the database from your favorite Python version (I think you've already done these steps).

Then in Python shell run:

from stalker import db
db.setup({
    'sqlalchemy.url': 'postgresql://stalker_admin:stalker@localhost/stalker'
})
db.init()

Stalker will create the necessary tables in it.

The you can use the commands that you've learned from the tutorial.

That's it.

Creating a PySide GUI is a better way of using Stalker and Anima then writing Python code for daily project management.

On Mar 28, 2017 7:21 PM, "Desmond" notifications@github.com wrote:

Hi Erkan's,

How can I create Projects and Tasks for anima? I don't know how to create a database to store all the user, task, project and etc in a database!! can u please give me some idea to create a data for user login, project and task. how can I manage my folder structure? Is anima ready for nuke ,houdini and photoshop? I'm new in doing studio pipeline!!

Thanks Desmond

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eoyilmaz/anima/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtDtLHIFJmBPHDZCtV_HCS6l4LUWT_Cks5rqTOAgaJpZM4Mr3TY .

tws0002 commented 7 years ago

Hi Erkan's

Thanks for the explanation about anima and stalker. I will try to understand how stalker work.

I having a problem when run this

from stalker import db db.setup({ 'sqlalchemy.url': 'postgresql://stalker_admin:stalker@localhost/stalker' }) db.init()

error.

stalker.db : settings: {'sqlalchemy.url': 'postgresql://stalker_admin:stalker@localhost/stalker'}

Error: ImportError: file \SP786VFX\Dev\SES\Library\Python\Lib\site-packages\psycopg2__init__.py line 50: DLL load failed: %1 is not a valid Win32 application.

Thanks Desmond

eoyilmaz commented 7 years ago

I think you are running psycopg2 installed for Linux under Windows. Don't do that. Install psycopg2 locally.

Erkan Ozgur Yilmaz

On Wed, Mar 29, 2017 at 5:55 PM, Desmond notifications@github.com wrote:

Hi Erkan's

Thanks for the explanation about anima and stalker. I will try to understand how stalker work.

I having a problem when run this

from stalker import db db.setup({ 'sqlalchemy.url': 'postgresql://stalker_admin:stalker@localhost/stalker' }) db.init()

error. stalker.db : settings: {'sqlalchemy.url': 'postgresql://stalkeradmin: stalker@localhost/stalker'} Error: ImportError: file \SP786VFX\Dev\SES\Library\Python\Lib\site-packages\psycopg2init_.py line 50: DLL load failed: %1 is not a valid Win32 application.

Thanks Desmond

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eoyilmaz/anima/issues/6#issuecomment-290116144, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtDtPONfulljwJ5xHtnmz1plY3G3RQ3ks5rqnDMgaJpZM4Mr3TY .