On Fri, Mar 12, 2010 at 1:31 PM, <[email protected]> wrote: > From: Tomas Sedovic <[email protected]> > > Getting started guide suggested to run the `rake db:migrate` step as > root. However, it's not necessary and complicates the setup process > (permissions etc. must be set afterwards). > --- > getting_started.txt | 11 ++--------- > 1 files changed, 2 insertions(+), 9 deletions(-) > > diff --git a/getting_started.txt b/getting_started.txt > index 5ffbef5..1f72258 100644 > --- a/getting_started.txt > +++ b/getting_started.txt > @@ -149,15 +149,8 @@ As your normal user: > 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 > + $ rake db:migrate >
You should still run rake db:create:all before migrate, even for sqlite + $ cd ../db > > For PostgreSQL: > $ cd path/to/deltacloud/portal/src > -- > 1.6.6.1 > > _______________________________________________ > deltacloud-devel mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/deltacloud-devel >
_______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
