From fe9d98b4e073bacfcd7f5070248b33f27e3b9da4 Mon Sep 17 00:00:00 2001 From: evildmp Date: Mon, 20 Oct 2014 14:20:07 +0100 Subject: [PATCH] Clearer explanaton of local dev docs database setup steps --- docs/how-to/local_development.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/how-to/local_development.rst b/docs/how-to/local_development.rst index 080c24d..8590302 100644 --- a/docs/how-to/local_development.rst +++ b/docs/how-to/local_development.rst @@ -64,12 +64,17 @@ Aldryn uses Postgres, so you will need a `PostgreSQL locally too. In the Aldryn control panel, the *Manage this website* section offers options for -downloading and restoring databases. Create a new backup of your site, refresh the -page, and download the backup you have just created. +downloading and restoring databases: -Unpack the .tar file that has been downloaded. This contains the database, media files, and more. -Using your local PostgreSQL database client, import the ``database.dump`` file, and make sure that -the new database's name and any permissions match those in the local site's settings. +#. create a new backup of your site +#. refresh the page +#. download the backup you have just created + +The .tar file that has been downloaded. This contains the database, media files, and more. + +#. unpack the .tar file that has been downloaded +#. using your local PostgreSQL database client, import the ``database.dump`` file +#. make sure that the new database's name and any permissions match those in the local site's ``settings.py`` Use local settings ------------------