This repository contains the development and running of the Saleor application as a part of the ISEC6000 Secure DevOps assignment.
Saleor Platform is the easiest way to start local development with all the major Saleor services:
To clone the repository, run the following command
git clone https://github.com/dahalapaar/isec6000-assignment1-task2.git
- Go to the cloned directory:
cd saleor-platform
- Build the application:
docker compose build
- Apply Django migrations:
docker compose run --rm api python3 manage.py migrate
- 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 [email protected]
with the password set to admin
.
- Run the application:
docker compose up
- Saleor Dashboard - http://localhost:9003