The zip file contains all js files integrated with Wozia, 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.

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • Python

    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.

    For windows
    • Download python from windows store
    • Select the Python's version to download.
    • Click on the Install Now
    • Installation in Process
    For Linux
    • sudo apt update
    • sudo apt install python3

  • Check Pip version

    py -m pip --version
    upgrade pip
    py -m pip install --upgrade pip

  • Virtualenv

    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

Installation
  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

Command Description
python3 -m venv env_name Create Virtual Environment on linux & mac OS
python -m venv env_name 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
pip3 install django Install Django on linux & mac OS
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
For Windows: python manage.py migrate
For Linux: python3 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
For Windows: python manage.py runserver
For Linux: python3 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')]
STATIC_ROOT= os.path.join(BASE_DIR,'assets')

python manage.py collectstatic

SMTP CONFIGURATION

Go to Wozia/settings.py and update credential

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'YOUR EMAIL ADDRESS'
EMAIL_HOST_PASSWORD = 'YOUR HOST Password'
DEFAULT_FROM_EMAIL = 'YOUR EMAIL ADDRESS'
SERVER_EMAIL = 'YOUR EMAIL ADDRESS'

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.

File & Folder Structure


Root Directory
├── Wozia
├── contact
├── portfolio
├── shop
├── static
	└── css	
	├── fonts
	├── images
	└── js											
├── templates
	├── blog
	├── dashboard
	├── partials
	├── portfolio
	├── shop
├── wozia
├── db.sqlite3
└── manage.py

Light Layout


In order to have Light mode enabled, Go to Wozia/static/js/app.js.
and update code mode="light"; at line number 175.

Dark Layout


In order to have Dark mode enabled, Go to Wozia/static/js/app.js.
and update code mode="dark"; at line number 175.

Color mode


1) Default Color

In order to have Default Color enabled, Go to Wozia/static/js/app.js.
and update code color = "default"; at line number 175.

2) Success(Light Green) Color

In order to have Success Color enabled, Go to Wozia/static/js/app.js.
and update code color = "success"; at line number 175.

3) Warning(Yellow) Color

In order to have Warning Color enabled, Go to Wozia/static/js/app.js.
and update code color = "warning"; at line number 175.

4) Danger(Red) Color

In order to have Danger Color enabled, Go to Wozia/static/js/app.js.
and update code color = "danger"; at line number 175.

5) Info(Sky Blue) Color

In order to have Info Color enabled, Go to Wozia/static/js/app.js.
and update code color = "info"; at line number 175.

6) Amber Color

In order to have Amber Color enabled, Go to Wozia/static/js/app.js.
and update code color = "amber"; at line number 175.

manage.py Structure


Changelog

v1.1.0 - 28 Dec 2023

  • Python version updated to 3.12.0.
  • Django version updated to 5.0.0.
  • Bootstrap version updated to 5.3.2.
  • Fixed Minor Issues

v1.0.0 - 25 April 2021

  • Initial released

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,

- Pichforest

Copyright 2023 Pichforest.