Merge pull request #503 from andresovichh/patch-1

Update index.rst
This commit is contained in:
Ashwin Kumar 2023-10-04 11:29:03 +05:30 committed by GitHub
commit 7560dc2246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`_