Oh no, I am not developing where the live data resides. But when I
make changes to my application on my development environment, how do I
transfer/update those changes on my production site?


On May 26, 12:36 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> You probably don't want to develop on your live data.
>
> To be able to migrate data the DAL includes two functions..
>
> db.export_to_csv_file(open('/path.csv', 'w'))
> db.import_from_csv_file(open('/path.csv', 'r'))
>
> So you can export your data, and then stick it on the server and
> re-import it. This also has the advantage that you can use something
> like PostgreSQL on your production machine.
>
> --
> Thadeus
>
> On Wed, May 26, 2010 at 9:39 AM, greenpoise <danel.sega...@gmail.com> wrote:
> > I have web2py production and my development environment. How would I
> > go for leaving the data intact in my production?  Is there a way? What
> > I did is I packedAll the project and took it to my production but I
> > will keep working on it on my development environment. Is this how it
> > should be done?
>
> > Thanks

Reply via email to