Skip to content

Commit

Permalink
Merge pull request #503 from andresovichh/patch-1
Browse files Browse the repository at this point in the history
Update index.rst
  • Loading branch information
ashwin31 authored Oct 4, 2023
2 parents 39c7fb3 + f4aa2df commit 7560dc2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`_
Expand Down

0 comments on commit 7560dc2

Please sign in to comment.