Home
dahiro edited this page Jul 30, 2012
·
10 revisions
- Create Database
- Edit the following file: https://github.com/dahiro/shotgun-replica/blob/master/shotgun_replica/python/src/shotgun_replica/config.py
- compile the postgres-plugin and load the generated SQL (entity_sync.sql) into the database
- recreate entities.py based on your shotgun-configuration
- run https://github.com/dahiro/shotgun-replica/blob/master/shotgun_replica/python/src/shotgun_replica/_create_shotgun_classes.py
- this also generates corresponding tables and rows in your postgres-db
- run initial synchronization https://github.com/dahiro/shotgun-replica/blob/master/shotgun_replica/python/src/shotgun_replica/initialization/initial.py
https://github.com/dahiro/shotgun-replica/tree/master/shotgun_replica/postgresql/entity_sync