# Starting development on a Reset Site add-on

**URL:** <https://community.localwp.com/t/starting-development-on-a-reset-site-add-on/12864>\
**Category:** Local Add-ons\
**Created:** [June 26, 2019, 3:39pm UTC](https://community.localwp.com/t/starting-development-on-a-reset-site-add-on/12864 "2019-06-26T15:39:38Z")\
**Posts on this page:** 2\
**Page:** 3

<div class="post-metadata">

**Author:** ![bor](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bor](https://community.localwp.com/u/bor)\
**Post date:** [May 29, 2024, 5:02am UTC](https://community.localwp.com/t/starting-development-on-a-reset-site-add-on/12864/41 "2024-05-29T05:02:19Z")

</div>

Hi @sc0ttkclark @ben.turner, this addon is working perfectly. I’m trying to run another wp cli command after wp core install to update timezone and other values. Here is an example:

```auto
LocalMain.getServiceContainer().cradle.wpCli.run(site, [
                'core',
                'install',
                '--url=' + site.url,
                '--title=' + site.name,
                '--admin_user=admin',
                '--admin_password=admin',
                '--admin_email=admin@abc.com',
                '--skip-email',
            ]).then(function (result) {
                LocalMain.getServiceContainer().cradle.localLogger.log('info', 'Command "wp core install" finished.');
                LocalMain.getServiceContainer().cradle.wpCli.run(site, [
                    'option',
                    'update',
                    'timezone_string',
                    '"UTC-2"'
                ]);
                LocalMain.sendIPCEvent('skc-local-reset-add-on-site-reset');
            }, function (err) {
                LocalMain.getServiceContainer().cradle.localLogger.log('info', 'Command "wp core install" failed.');

                LocalMain.getServiceContainer().cradle.localLogger.log('info', err);

                LocalMain.sendIPCEvent('skc-local-reset-add-on-site-reset-install-failed');
            });

```

This doesn’t really work. Just wondering if you guys have any ideas what I’ve done wrong here. Thanks

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [June 3, 2024, 2:46pm UTC](https://community.localwp.com/t/starting-development-on-a-reset-site-add-on/12864/42 "2024-06-03T14:46:55Z")

</div>

Can you give a little more detail about what isn’t working?

Are you seeing errors somewhere?

[Previous page](https://community.localwp.com/t/starting-development-on-a-reset-site-add-on/12864.md?page=2)
