Top
Viho Admin is a responsive template that is based on the CSS framework Bootstrap 5 and it is built with Django Framework. Django Framework eliminates the repetation of code and makes it easier to customize. If you are unfamiliar with Django framework, all the necessary steps to run this project is given in this documentation. User Authentication has been implemented so that only those users with proper credentials can access the site.
Before you start working with the template, we suggest you go through the pages that are bundled with the theme. Most of the template example pages contain quick tips on how to create or use a component which can be really helpful when you need to create something on the fly.
- Django is a Python web framework, thus requiring Python to be installed on your machine.
To install Python on your machine go to https://python.org/download/, and download a Windows MSI installer for Python. Once downloaded, run the MSI installer and follow the on-screen instructions.
After installation, open the command prompt and check the Python version by executing python --version. If you encounter a problem, make sure you have set the PATH variable correctly. You might need to adjust your PATH environment variable to include paths to the Python executable and additional scripts. For example, if your Python is installed in C:\Python34\, the following paths need to be added to PATH:
C:\Python34\;C:\Python34\Scripts;
PIP is a package manager for Python that uses the Python Package Index to install Python packages. PIP will later be used to install Django from PyPI. If you’ve installed Python 3.4, pip is included so you may skip this section.
Open a command prompt and execute easy_install pip. This will install pip on your system. This command will work if you have successfully installed Setuptools.
Alternatively, go to http://www.pip-installer.org/en/latest/installing.html for installing/upgrading instructions.
Django can be installed easily using pip.
In the command prompt, execute the following command: pip install django . This will download and install Django.
After the installation has completed, you can verify your Django installation by executing django-admin --version in the command prompt.
If you have launched a new server,Then we recommend to update the server with below command
sudo apt-get update
By default, Python 3 is installed on your, but if your system doesn’t have Python installed, Execute the below commands to install it
sudo apt-get install python3
To check the version
$ python3 -V
To install pip,Use below command
sudo apt-get install python3-pip
You can also use pip to install Django on Ubuntu systems
pip3 install Django
As this theme compiles scss files and load the pages, we need to install django-sass-processor
in our Project.
Click here to know more about
using django-sass-processor
pip install libsass django-compressor django-sass-processor
Now that you have installed django successfully, open you command prompt or terminal, navigate to the project directory where manage.py file is present.
Now use "python manage.py runserver" command to run the local server.
You can now open the website in you browser on the default link http://127.0.0.1:8000