Re: reviewboard.settings and exporting db

2008-09-09 Thread Hemanshu Patel
the setings.py file is your reviewboard.settings can you tell me what is
your directory structure for reviewboard. and your config file for apache.
so i can further help you

On Mon, Sep 8, 2008 at 2:25 PM, Dean <[EMAIL PROTECTED]> wrote:

>
> I do not think we ran any install scripts for reviewboard when
> following the Getting Started and Ubuntu instructions... So I have
> some questions:
> 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> we have been playing with?
>
> 2) If not, what might I have missed in the instructions to create the
> reviewboard.settings and sample apache2 conf files?
>
> 3) Once we have worked with Reviewboard for a bit and decided we want
> to move it into production, what procedure I can use to export our
> data from sqlite in order to migrate it to mysql?
>
> Our setup: Fedora8, /usr/lib/python2.5, django Revision: 8471,
> reviewboard Revision: 1453.
>
> Thanks for your help,
>
> Dean
> >
>


-- 
Hemanshu.D.Patel

[EMAIL PROTECTED]
[EMAIL PROTECTED]
(860)995-6771
(860)875-2854

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: reviewboard.settings and exporting db

2008-09-08 Thread Christian Hammond
manage.py loaddata/dumpdata don't scale. Instead, use contrib/db/load-db.py
and contrib/db/backup-db.py.

Dean, you should be able to use setup.py these days. I'm going to update the
wiki pretty soon with the new instructions. I don't think you'll have any
problems, since it will pretty much just override the existing files.

setup.py, unlike the configure/make solution, doesn't generate web server
config files to use as a base. I'm developing a script that will help
generate this and set up a directory structure, but it's not there yet. You
can still run ./configure && make to generate files in contrib/conf/ to use
as a base for the time being, though.

Christian

-- 
Christian Hammond - [EMAIL PROTECTED]
VMware, Inc.


On Mon, Sep 8, 2008 at 12:24 PM, Joseph Liu <[EMAIL PROTECTED]> wrote:

>
> On Mon, Sep 8, 2008 at 11:25 AM, Dean <[EMAIL PROTECTED]> wrote:
> >
> > I do not think we ran any install scripts for reviewboard when
> > following the Getting Started and Ubuntu instructions... So I have
> > some questions:
> > 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> > we have been playing with?
>
> I'm pretty sure the anwser is yes, but you should probably back up the
> data anyways. I think installing via setup.py is necessary for
> mod_python. I've been playing around using fast_cgi and lighttpd.
>
> > 2) If not, what might I have missed in the instructions to create the
> > reviewboard.settings and sample apache2 conf files?
> >
> > 3) Once we have worked with Reviewboard for a bit and decided we want
> > to move it into production, what procedure I can use to export our
> > data from sqlite in order to migrate it to mysql?
>
> I haven't done this but manage.py dumpdata and manage.py loaddata
> looks promising. More information can be found:
> http://www.djangoproject.com/documentation/django-admin/
>
> Joseph
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: reviewboard.settings and exporting db

2008-09-08 Thread Joseph Liu

On Mon, Sep 8, 2008 at 11:25 AM, Dean <[EMAIL PROTECTED]> wrote:
>
> I do not think we ran any install scripts for reviewboard when
> following the Getting Started and Ubuntu instructions... So I have
> some questions:
> 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> we have been playing with?

I'm pretty sure the anwser is yes, but you should probably back up the
data anyways. I think installing via setup.py is necessary for
mod_python. I've been playing around using fast_cgi and lighttpd.

> 2) If not, what might I have missed in the instructions to create the
> reviewboard.settings and sample apache2 conf files?
>
> 3) Once we have worked with Reviewboard for a bit and decided we want
> to move it into production, what procedure I can use to export our
> data from sqlite in order to migrate it to mysql?

I haven't done this but manage.py dumpdata and manage.py loaddata
looks promising. More information can be found:
http://www.djangoproject.com/documentation/django-admin/

Joseph

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



reviewboard.settings and exporting db

2008-09-08 Thread Dean

I do not think we ran any install scripts for reviewboard when
following the Getting Started and Ubuntu instructions... So I have
some questions:
1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
we have been playing with?

2) If not, what might I have missed in the instructions to create the
reviewboard.settings and sample apache2 conf files?

3) Once we have worked with Reviewboard for a bit and decided we want
to move it into production, what procedure I can use to export our
data from sqlite in order to migrate it to mysql?

Our setup: Fedora8, /usr/lib/python2.5, django Revision: 8471,
reviewboard Revision: 1453.

Thanks for your help,

Dean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---