Page 1 of 1

Workflow environments for updating your store?

Posted: Thu Jan 16, 2020 10:28 pm
by redmail
How do you go from testing to staging to production?
Whats an effective workflow to keep track of changes so you can revert back to them?

Im running 2.3.0.2 on nginx with mariadb

Re: Workflow environments for updating your store?

Posted: Thu Jan 16, 2020 11:55 pm
by OSWorX
redmail wrote:
Thu Jan 16, 2020 10:28 pm
How do you go from testing to staging to production?
Whats an effective workflow to keep track of changes so you can revert back to them?

Im running 2.3.0.2 on nginx with mariadb
Not sure what you mean.
Update and teststage are 2 different pair of shoes ..

Do you want to update, or do you want to develop (something new)?

Re: Workflow environments for updating your store?

Posted: Fri Jan 17, 2020 5:04 am
by thekrotek
It all depends on your skills. I can do everything live and don't even remember when I had to restore a backup. Everything can be fixed without too much hassle.

But in general you can create a test instance, do everything you need and then make it live. That's it, as simple as it gets.

Re: Workflow environments for updating your store?

Posted: Fri Jan 17, 2020 10:14 am
by IP_CAM
One great Tool to test OpenCart is the Productsgenerator. One can fill up a
TestShop with any amount of differently 'random-configured' products, to
find out, if everything, related to Display and Sales, works flawless, from the
Admin Side, down to the final email Sales confirmation. And all that for a
lousy 20 US-Bucks ... :laugh:
---
ProductsGenerator
https://isenselabs.com/products/view/pr ... h-products
---
Image

Re: Workflow environments for updating your store?

Posted: Sat Jan 18, 2020 7:58 pm
by redmail
OSWorX wrote:
Thu Jan 16, 2020 11:55 pm
redmail wrote:
Thu Jan 16, 2020 10:28 pm
How do you go from testing to staging to production?
Whats an effective workflow to keep track of changes so you can revert back to them?

Im running 2.3.0.2 on nginx with mariadb
Not sure what you mean.
Update and teststage are 2 different pair of shoes ..

Do you want to update, or do you want to develop (something new)?
Once you've installed Opencart on your server and its live on your domain that would be the production version.
But for example, if you want to install a new extension you would test it on your local development environment, then if it works, try it on your staging environment like staging.myopencartstore.com. If it works, then you would update the live store.

Is this a typical workflow you guys would use?

Re: Workflow environments for updating your store?

Posted: Sat Jan 18, 2020 8:03 pm
by redmail
thekrotek wrote:
Fri Jan 17, 2020 5:04 am
It all depends on your skills. I can do everything live and don't even remember when I had to restore a backup. Everything can be fixed without too much hassle.

But in general you can create a test instance, do everything you need and then make it live. That's it, as simple as it gets.
Alright maybe it is best to keep it simple. But has anybody tried containers like using Docker?

Re: Workflow environments for updating your store?

Posted: Sat Jan 18, 2020 8:05 pm
by redmail
IP_CAM wrote:
Fri Jan 17, 2020 10:14 am
One great Tool to test OpenCart is the Productsgenerator. One can fill up a
TestShop with any amount of differently 'random-configured' products, to
find out, if everything, related to Display and Sales, works flawless, from the
Admin Side, down to the final email Sales confirmation. And all that for a
lousy 20 US-Bucks ... :laugh:
---
ProductsGenerator
https://isenselabs.com/products/view/pr ... h-products
---
Image
Thanks, I'll have a look at that.

Re: Workflow environments for updating your store?

Posted: Sat Jan 18, 2020 8:55 pm
by OSWorX
redmail wrote:
Sat Jan 18, 2020 7:58 pm
Once you've installed Opencart on your server and its live on your domain that would be the production version.
But for example, if you want to install a new extension you would test it on your local development environment, then if it works, try it on your staging environment like staging.myopencartstore.com. If it works, then you would update the live store.

Is this a typical workflow you guys would use?
Yes, that should be done always in that way (would prevent a massive amount of users here reporting needless errors ..).
But not many are working this way - the hell knows why.

Not to forget: never install something and do not use it further.
Or install, use it once and then never.
Always try to keep your system as clean as possible.