Demo web site¶
To execute the demo WEB site in which django-gentelella is implemented you must follow these steps:
From the terminal after cloned the repository.
You must create an environment and active it, as follows:
$ virtualenv env -p python3.8
$ source env/bin/activate
The second step is to install the requirements:
$ pip install -r requirements.txt
Then in django-gentelella-widgets/demo directory, you must execute Django migrate command:
$ python manage.py migrate
Load the sidebar menu with this custom command:
$ python manage.py createdemo
After that install requests library and execute django-gentelella custom command to download and set the assets with:
$ pip install requests
$ python manage.py loaddevstatic
At this point the project is ready so, launch the server with:
$ python manage.py runserver