From: Tomas Sedovic <[email protected]> SQLite database migration steps were missing from the getting started guide. --- getting_started.txt | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/getting_started.txt b/getting_started.txt index eb4cd59..90969ff 100644 --- a/getting_started.txt +++ b/getting_started.txt @@ -145,10 +145,25 @@ Setting up the aggregator Now we need to setup the aggregator (which includes the UI). As your normal user: -$ cd path/to/deltacloud/portal/src -$ rake db:create:all -$ rake db:migrate -$ rake db:test:prepare + +For SQLite: + $ cd path/to/deltacloud/portal/src/config + $ mv database.sqlite database.yml + + Prepare the database (as root): + + # rake db:migrate + # cd ../db + + You should see the development.sqlite file. Change its ownership to the user that will be run the aggregator: + + # chown someuser:somegroup development.sqlite3 + +For PostgreSQL: + $ cd path/to/deltacloud/portal/src + $ rake db:create:all + $ rake db:migrate + $ rake db:test:prepare If all went well here, then the database should be ready for you to start up the aggregator. We also have to set it up so that @@ -159,7 +174,7 @@ $ ln -s /absolute/path/to/deltacloud/core/client \ You can now run the UI: -$ ./script/server -p 3001 +$ ./script/server Which will start up the UI. There is one more piece to start up before we can actually run, and that is taskomatic. -- 1.6.6.1 _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
