# Installing on Windows
Vue Storefront is based on open-source technologies, which should (in theory) work perfectly well on most of the leading operating systems. However, we're developing the project using MacOS and Linux machines.
# Requirements
- Please download Docker for Windows (opens new window) and install it on your machine. More Information (opens new window).
- Install LTS version of Node.js for Windows (opens new window).
- Instal Yarn (opens new window).
- You can use any editor for development, but we're using Visual Studio Code (opens new window) which is cool, free, and very JS-friendly!
- You can download Github Desktop (opens new window) to get access not only for fancy UI, but for the git toolset itself.
# Installation of vue-storefront-api
- Open your command line of choice with Git (opens new window) access or use Github desktop.
- Clone the vue-storefront-api (opens new window) project:
git clone https://github.com/vuestorefront/vue-storefront-api.git vue-storefront-api
- Go to
vue-storefront-api
in dir:
cd vue-storefront-api
- Install dependencies:
yarn install
- Run Docker containers required by
vue-storefront-api
:
docker-compose up
This step can take a few minutes.
Note: If it appears that docker-compose is hanging, try opening a new terminal and continue to the next step using that terminal. Allow docker-compose to continue running in the background.
- Restore products database and run the latest migrations.
yarn restore
yarn migrate
- Copy
config/default.json
toconfig/local.json
. - Run API:
yarn dev
# Installation of vue-storefront
- Open your command line of choice with Git (opens new window) access or use Github desktop.
- Clone the vue-storefront (opens new window) project:
git clone --single-branch --branch master https://github.com/vuestorefront/vue-storefront-1.git vue-storefront
- Go to
vue-storefront
directory:
cd vue-storefront
- Install dependencies:
yarn install
- Copy
config/default.json
toconfig/local.json
NOTE
We're using the powerful node.js library for config files. Check the docs to learn more about it: https://github.com/lorenwest/node-config (opens new window)
Next install theme
Run Vue Storefront Server:
yarn dev
Now you should have Vue Storefront running on localhost:3000
.