Welcome to the Saleor Platform Project! This project involves deploying a fully functional Saleor-based e-commerce platform. Saleor is a modern, open-source, headless e-commerce platform that provides a robust GraphQL API and a user-friendly dashboard for managing your online store.
This README serves as the entry point for students who have chosen the Saleor project to deploy. It includes links to key documentation and instructions to get started.
- Instructions to Containerize the Dashboard
- Instructions to Containerize the API
- Instructions to Deploy Compose Stack
- Saleor Platform Documentation
- Saleor Overview
This project is designed to teach you the fundamentals of deploying, managing, and interacting with a distributed application using Docker and Docker Compose. By completing this project, you will:
- Deploy the Saleor API (GraphQL-based backend).
- Set up the Saleor Dashboard for store management.
- Configure supporting services such as PostgreSQL, Redis, and optional monitoring and email tools (Jaeger and Mailpit).
- Understand container orchestration and resource management.
Follow the instructions below to get started:
-
Fork this repo.
-
Ensure you have the Dockerfiles written that are outlined in the Instructions to Write API Dockerfile and Instructions to Write Dashboard Dockerfile.
-
Build and start the Saleor platform by following the deployment steps in Instructions to Deploy.
-
Access the application:
- API: http://localhost:8000
- Dashboard: http://localhost:9000
- Optional Services:
- Jaeger (APM): http://localhost:16686
- Mailpit (Test Email UI): http://localhost:8025
This guide provides step-by-step instructions for setting up the Saleor platform, including:
- Preparing your environment.
- Building and running the Docker Compose stack.
- Initializing the database and creating an admin user.
This guide provides step-by-step instructions for writing the Dockerfile for the Saleor API, including:
- Installing Dependencies
- Single-stage build
- Running the API
This guide provides step-by-step instructions for writing the Dockerfile for the Saleor Dashboard, including:
- Installing Dependencies
- Multi-stage builds
- Running the Saleor Dashboard
This guide serves as a instructions and requirements for how your CI/CD Pipelines should be built and what outcome they should achieve.
Detailed documentation on:
- Service configurations.
- Customization options.
- Troubleshooting common issues.
Learn more about the Saleor project, including:
- Features and capabilities.
- High-level architecture.
- Use cases and benefits.
If you encounter issues or have suggestions for improvement, please message me on Slack or through the Google Classroom. Feedback is welcome!
Happy deploying! 🚀