/xcart4-docker

A simple docker optimized X-Cart 4 setup.

Primary LanguageDockerfile

X-Cart 4 Docker

Dependencies

Docker

How do I get set up?

  1. Clone this repo.
  2. Clone your X-Cart 4 repo inside here with the name "xcart"
  3. Download local database and put it in docker-entrypoint-initdb.d/ it will automatically be imported during step 5
  4. Download config.php and put it in xcart/
  5. You can do the sub-points below at the same time
    1. Run docker-compose up --build (if you want this to run the in background use docker-compose up --build -d)
    2. 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 and gulp

How do I shut it down?

Run docker-compose down or close the terminal window