Post by minoo7 » Mon Apr 08, 2024 7:35 pm

I have recently gotten the responsibility of webmaster for a website using opencart 3+.
This website's is currently hosted on a website called Oderland.

I would like to make development locally, in order to easily make changes to the website and make development faster.
I come from a background of using git and npm to create websites. If possible I would like to use a devcontainer environment that uses docker in vscode.

I tried cloning the opencart git project and using the docker-compose.yml file, and this works!

My question is how I use this for my existing opencart project. The readme on the opencart github project explains how to install a new project or upgrade an old opencart version, but doesn't seem like it helps my case.

Essentially what I want to achieve is:
  • Develop code locally using a devcontainer/docker
  • Push changes using git or something else
  • Changes are reflected on the production website
Thank you in advance

Newbie

Posts

Joined
Mon Apr 08, 2024 6:54 pm

Post by paulfeakins » Tue Apr 09, 2024 6:42 pm

minoo7 wrote:
Mon Apr 08, 2024 7:35 pm
I would like to make development locally, in order to easily make changes to the website and make development f
I don't think that would make development faster.

Personally I think a better workflow is working on a dev copy of the website but on a server that's configured the same way as the live.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 20 guests