diff --git a/docs/source/index.rst b/docs/source/index.rst index 439a5845..ceae98ad 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -90,6 +90,30 @@ Ubuntu 64bit - 16.04 Visit our Django web development page [Here](https://micropyramid.com/django-ecommerce-development/) +Docker +********************* + +To install using Docker, you need have Docker installed in your system. + +1. Clone the repository into your system. + +2. Then run the following code to build and run the container: + + | $ docker build -t djcrm:1 -f docker/Dockerfile . + | $ docker-compose -f docker/docker-compose.yml up + + The first line will build your container and the second one will run it. + + There you will be able to see what is going on inside the container. + + If you head to localhost:8000/admin you will get to the admin panel of Wagtail. + + 3. In order to be able to login to the admin panel you have to create an admin user. If you are using Vscode, go to the bottom left corner and click on it, there go to "Attach to running container" and you will see two options, click on the one called "crm-app". Once inside the container, then cd into the app directory and run: + + | $ python3 manage.py createsuperuser + + After this you will be able to log into the admin panel with the user you just created. + We welcome your feedback and support, raise github ticket if you want to report a bug or need new feature. Need additional support? `Contact us here`_