- Python
- Django
- Venv
Clone the project with git
$ git clone https://github.com/Joe-Degs/Django-E-Commerce
Create a virtual environment in the project directory
$ python3 -m pip venv .venv
$ source .venv/bin/activate
Install project dependencies
$ python3 -m pip install -r requirements.txt
This project is setup to build docker images and push them to docker hub automatically on a new release. There is an actions CI/CD workflow and Dockerfile for accomplishing those specific goals.
Build docker images of this project locally with
$ docker build -t joedegs/django-e-commerce:latest -f Dockerfile .
Pushing to the branch master
or pushing a tag with the semver versioning scheme will trigger a build and push to the docker hub repository joedegs/django-e-commerce
Download latest images from docker hub with,
$ docker pull joedegs/django-e-commerce
After building a local docker image or downloading one from docker hub, run the project by executing the following commands
$ docker run -d -p 8000:8000 joedegs/django-e-commerce