If you have any questions that are beyond the scope of this documentation, please feel free to email or contact us via my page.
Support Email: support@themesbrand.com
The zip file contains all js files integrated with Globing, however you need to perform following steps to run project locally.
Make sure to have the Python installed & running in your computer. If you already have installed Python on your computer, you can skip this step. Please use Python version 3 or if you are using Paython version 2 then make sure to run all the below commands with python insted of python3. If you are using Windows OS then please install using APP store.
Please follow below steps to install and setup all prerequisites:
Make sure to have the Python installed & running in your computer. If you already have installed Python on your computer, you can skip this step. Please use Python version 3 or if you are using Paython version 2 then make sure to run all the below commands with python insted of python3.
py -m pip --version
upgread pip
py -m pip install --upgrade pip
Make sure to have the virtualenv
installed globally
&
running on your computer. If you already have installed on your
computer, you can skip this step.
Virtualenv installation command for linux & mac os
python3 -m pip install --user virtualenv
Virtualenv installation command for Windows
py -m pip install --user virtualenv
Make sure to have all above prerequisites installed & running on your computer
Command | Description |
---|---|
python3 -m pip install --user virtualenv
|
Create Virtual Environment on linux & mac OS |
py -m pip install --user virtualenv
|
Create Virtual Environment on Windows OS |
source environment_name/bin/activate
|
Activate Environment on Linux & mac OS |
environment_name\Scripts\activate
|
Activate Environment on Windows OS |
python -m pip install Django
|
Install Django on linux & mac OS |
py -m pip install Django
|
Install Django on Windows OS |
After you finished with the above steps, you can run the following commands into the terminal / command prompt from the root directory of the project to run the project locally:
Database Connectivity
Goto settings.py
of main directory and update below settings.
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.#databaseservername#', 'NAME': 'Your Database Name', 'USER' : 'Database User Name', 'PASSWORD' : 'Your Password', 'HOST' : 'Write down Host', 'PORT' : 'Write down port', } }
Run below command for database migration
python manage.py migrate
To create a superuser run the below command
python manage.py createsuperuser
enter username Your Username
enter your Email Address
enter your Password
enter your Password again
Run below command for run your project
python manage.py runserver
To load static files
Go to Lexa/setings.py and add following command:-
STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR,'static')]
python manage.py collectstatic
I have tried my best to have standards and modular structure while developing the theme. Following sections are explaining the theme File & Folder, Structure, CSS, js files Structure and plugins.
Landing ├── account ├── globing ├── static ├── css ├── fonts ├── images ├── scss ├── php └── js ├── templates ├── account ├── index ├── partials ├── db.sqlite3 └── manage.py
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "primary";
at line number 60.
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "green";
at line number 60.
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "light-blue";
at line number 60.
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "pink";
at line number 60.
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "purple";
at line number 60.
In order to have Default Color enabled, Go to Globing/static/js/app.js
.
and update code color = "yellow";
at line number 60.
Once again thank you for purchasing the theme. I am always avaialble to help you. If you have any suggestion or feature to make it more better, I am requesting you to contact me, I'll try my best to add them in future updates.
Best,
- Themesbrand
Copyright 2023 Themesbrand.