/saleor-algolia-demo

Primary LanguagePythonOtherNOASSERTION

saleor-algolia-demo

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.

Requirements

  1. Docker
  2. Docker Compose

How to run it?

  1. Clone the repository:
$ git clone https://github.com/mirumee/saleor-algolia-demo.git --recursive --jobs 3
  1. Go to the cloned directory:
$ cd saleor-algolia-demo
  1. Build the application:
$ docker-compose build
  1. Apply Django migrations:
$ docker-compose run --rm api python3 manage.py migrate
  1. Collect static files:
$ docker-compose run --rm api python3 manage.py collectstatic --noinput
  1. Populate the database with example data and create the admin user:
$ docker-compose run --rm api python3 manage.py populatedb --createsuperuser

Note that --createsuperuser argument creates an admin account for admin@example.com with the password set to admin.

  1. Run the application:
$ 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.

  1. Go to Saleor-Algolia installation for further steps

Where is the application running?

If you have any questions or feedback, do not hesitate to contact us via Spectrum or Gitter:

Some situations do call for extra code; we can cover exotic use cases or build you a custom e-commerce appliance.

Crafted with ❤️ by Mirumee Software

hello@mirumee.com