- Clone this repo.
- Clone your X-Cart 4 repo inside here with the name "xcart"
- Download local database and put it in docker-entrypoint-initdb.d/ it will automatically be imported during step 5
- Download config.php and put it in xcart/
- You can do the sub-points below at the same time
- Run
docker-compose up --build
(if you want this to run the in background usedocker-compose up --build -d
) - Open a new terminal window, install node version 10 or 12 (you can use https://github.com/tj/n#installation) then go into xcart/ and run
npm install
andgulp
- Run
Run docker-compose down
or close the terminal window