Hi Lucas, 

Thanks for raising this! These docs are out of date; we've since moved the 
database creation steps into separate scripts for the homestead-prov and homer 
components (e.g.  
https://github.com/Metaswitch/crest/blob/dev/homestead.root/usr/share/clearwater/cassandra-schemas/homestead_provisioning.sh).
 I've fixed them up now to have the correct commands. 

Also, you said that you wanted to build Homestead, but you're actually building 
Homestead-prov. 
We have two related components; Homestead and Homestead-prov, where Homestead 
is our HSS cache/gateway, and Homestead-prov covers provisioning the 
subscribers. These components used to be built from the same source code, but 
we've moved Homestead into the 'Homestead' repository now (at 
https://github.com/Metaswitch/homestead). It's Homestead-prov that's built from 
the crest repository. 

I've raised an issue to sort out the documentation for this (you can track this 
at: https://github.com/Metaswitch/crest/issues/190). 

Ellie

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: 10 February 2015 07:00
To: [email protected]
Subject: [Clearwater] Where is get_create_statements.py?

Hi


I'm trying to build Homestead from 
http://github.com/Metaswitch/crest/tree/master

and following the guide 
http://github.com/Metaswitch/crest/blob/master/docs/development.md

BUT when I use this command

"PYTHONPATH=src bin/python src/metaswitch/crest/tools/create_db.py"

to create cassendra db

I got a error message as below

---

Traceback (most recent call last):
  File "bin/python", line 58, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "src/metaswitch/crest/tools/create_db.py", line 40, in <module>
    from metaswitch.crest.tools import db
  File "/home/clearwater/crest/src/metaswitch/crest/tools/db.py", line 37, in 
<module>
    from metaswitch.crest.api import get_create_statements
ImportError: cannot import name get_create_statements

---

Does this mean metaswitch/crest/api/get_create_statements.py missing?


Thanks


Lucas


====================================================================
本信件可能包含工研院�C密�Y��,非指定之收件者,��勿使用或揭露本信件�热荩��K���N�Т诵偶�。 
This email may contain confidential information. Please do not use or disclose 
it in any way and delete it if you are not the intended recipient.
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to