Installation
To setup the HexaDash in local environment, follow below-mentioned steps:
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer.
Prerequisites
Django has a set of requirements in order to run smoothly in specific environment. Please see requirements section in Django documentation.
Please follow below steps to install and setup all prerequisites:
- XAMPP
Make sure to have the XAMPP installed & running in your computer. If you already have installed Xampp on your computer, you can skip this step if your existing xampp version is 7.4 or greater than.
-
Pip3
You wil get pip3 with the django installation
After you finished with the above steps, you can run the following commands to run the Django Admin Dashboard in local environment:
Command | Description |
---|---|
pip3 install django |
command to install all of the framework's dependencies. |
settings.py |
You will get all the settings here |
Please fill your DB credentials in the settings.py file.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'django-hexadash',
'USER': 'root',
'PASSWORD': '',
'HOST':'127.0.0.1'
}
}
|
|
Migration |
This will migrate the database tables. For more details visit https://docs.djangoproject.com/en/4.0/topics/migrations/ |
Xampp Start
|
Xampp start the connection of mysql database. |
python manage.py runserver
|
Navigate to generated server url http://127.0.0.1:8000 |