Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Copy canopy2data.tgz to Canopy 3 server.
  2. Follow the steps 1 and 2 of the  Installation for Canopy 3, skip the `createsuperuser` step as indicated.

  3. If you are repeating the process or if there is already data in the DB then you should delete it before continuing using: 
    1. sudo -u postgresql dropdb canopy
    2. canopy-setup database
    3. canopy-manage
    reset_db
    1. setupdb --prod
  4. Configure the default database and user using canopy-setup database
  5. Setup a clean production dataset using: canopy-manage setupdb --prod

  6. Decompress the archive: gzip -d canopy2data.tgz
  7. Make sure that your contentfieldmapping.json and customfields.json files are also in the current directory, where canopy2data.tgz is.
  8. canopy-manage importcanopy2 canopy2data.tar |& tee importer.log
  9. supervisorctl restart canopy canopy-celery

...