Skip to content

Database Synch Not Search/Replacing or Serializing Data #30

@korynorthrop

Description

@korynorthrop

I have my local and development environments setup. The files are successfully pushed to the development server and the local database is also pushed to the development server, but the values of the database are not changed (i.e. it doesn't seem like the search and replace nor the serializing data is happening on the database before it gets pushed to the development server). Any thoughts? I am posting my Gruntfile.js code below, but have changed some of the values for security purposes.

wordpressdeploy: {
      options: {
        backup_dir: "backups/",
        rsync_args: ['--verbose', '--progress', '-rlpt', '--compress', '--omit-dir-times', '--delete'],
        exclusions: ['Gruntfile.js', '.git/', 'tmp/*', 'backups/', 'wp-config.php', 'composer.json', 'composer.lock', 'README.md', '.gitignore', 'package.json', 'node_modules', '*.sublime-workspace', '*.sublime-project']
      },
      local: {
        "title": "local",
        "database": "snoringdoc",
        "user": "root",
        "pass": "root",
        "host": "localhost",
        "url": "http://localhost/Snoring-Doc/",
        "path": "/Applications/MAMP/htdocs/Snoring-Doc/"
      },
      dev: {
        "title": "dev",
        "database": "dev_snoringdoc",
        "user": "dev_admin",
        "pass": "notactualpassword",
        "host": "localhost",
        "url": "http://snoringdoc.dev.com",
        "path": "/home/dev/public_html/snoringdoc",
        "ssh_host": "dev@dev.com"
      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions