Post by nemolf » Thu Nov 02, 2017 1:38 pm

Hi,
I want to install modules and make them enabled by commands on terminal, to make auto-installation script.
Please teach me how to do that.
- Opencart version : 3.0.2

<What I want to do>
Using Ansible,
- build server applications (nginx, php, mysql ...) --- OK
- install default Opencart -- OK
- make initialization of Opencart -- OK
- install and enabled some modules ---- Now here.. I will write a shell script for this process.
< Premise>
- Zip files (modules) are already on a target server.
- Terminal on the server is available. (bash, python, php or some other LWL)

Newbie

Posts

Joined
Fri Jul 28, 2017 3:52 pm

Post by IP_CAM » Fri Nov 03, 2017 12:58 pm

Well, you will probably require commercial Support for this, I assume, it's
related to a Business Server Application, and of no concern to 'regular'
OC Users, possibly even able to be of free help. And others won't share their
Wisdom on such with possible future Competitors either, just for the fun of it.... ::)
Sorry for the bad News, it's not meant personal !
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by yodapt » Fri Nov 03, 2017 9:52 pm

With PHP and cURL you can automate extension installation and configuration. You'll most likely need a mask for each of them since they all have diferent parameters, but it should be quite easy to do.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by tslack » Tue Nov 07, 2017 9:20 am

nemolf wrote:
Thu Nov 02, 2017 1:38 pm
- install and enabled some modules ---- Now here.. I will write a shell script for this process.
< Premise>
- Zip files (modules) are already on a target server.
- Terminal on the server is available. (bash, python, php or some other LWL)
Honestly, I'm going the same route and I'm finding it much easier to download the opencart source via Git and then use my own Git structure to build releases of different setups. This way, I've found, one could potentially build any instance, with any modification/fixtures/extension, desired.

Cheers

Got Slackware!?


Newbie

Posts

Joined
Tue Nov 07, 2017 9:14 am
Location - Kansas

Post by IP_CAM » Wed Nov 08, 2017 1:27 am

I found something, possibly matching your requirements:
mithereal - turnkey-opencart
https://github.com/mithereal/turnkey-opencart
Good Luck! ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 125 guests