All Saleor services started from a single repository
Keep in mind this repository is for local development only and is not meant to be deployed on any production environment! If you're not a developer and just want to try out Saleor you can check our live demo.
$ git clone https://github.com/mirumee/saleor-platform.git --recursive --jobs 3
We are using shared folders to enable live code reloading. Without this, Docker Compose will not start:
saleor-platform directory to Docker shared directories (Preferences -> Resources -> File sharing).Go to the cloned directory:
$ cd saleor-platform
$ docker-compose build
$ docker-compose run --rm api python3 manage.py migrate
$ docker-compose run --rm api python3 manage.py collectstatic --noinput
$ docker-compose run --rm api python3 manage.py populatedb --createsuperuser
Note that --createsuperuser argument creates an admin account for [email protected] with the password set to admin.
$ docker-compose up
Both storefront and dashboard are quite big frontend projects and it might take up to few minutes for them to compile depending on your CPU. If nothing shows up on port 3000 or 9000 wait until Compiled successfully shows in the console output.
This repository contains newest stable versions. When new release appear, pull new version of this repository. In order to update all of them to their newest versions, run:
$ git submodule update --remote
You can find the latest version of Saleor, storefront and dashboard in their individual repositories:
Most of the time both issues can be solved by cleaning up space taken by old containers. After that, we build again whole platform.
$ docker-compose stop
Warning! Proceeding will remove also your database container! If you need existing data, please remove only services which cause problems! https://docs.docker.com/compose/reference/rm/
docker-compose rm
docker-compose build
How to run it? section. Done!If you are getting issues with lack of available space, consider prunning your docker cache:
Warning! This will remove:
More info: https://docs.docker.com/engine/reference/commandline/system_prune/
$ docker system prune
docker-compose up api worker for backend services onlydocker-compose up for backend and frontend servicesIf you have any questions or feedback, do not hesitate to contact us via Spectrum or Gitter:
Disclaimer: Everything you see here is open and free to use as long as you comply with the license. There are no hidden charges. We promise to do our best to fix bugs and improve the code.
Some situations do call for extra code; we can cover exotic use cases or build you a custom e-commerce appliance.
Content type
Image
Digest
Size
332.8 MB
Last updated
about 6 years ago
docker pull palomino/store:frontend