Tailwick works by scanning all of your HTML files, JavaScript components, and any other templates for class names, generating the corresponding styles and then writing them to a static CSS file.
It's fast, flexible, and reliable — with zero-runtime.
Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 18.
npm install
or
npm i
npm run build
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
upgread 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
Command Description
yarn install This would install all required dependencies in node_modules folder.
gulp It will generate the static folder.
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
pip install django-allauth
pip install django-embed-video
pip install django-crispy-forms
pip install django-multiselectfield
pip install crispy-bootstrap5
pip install Pillow
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',
}
}
python manage.py migrate
python manage.py createsuperuser
enter username Your Username
enter your Email Address
enter your Password
enter your Password again
Go to Velzon/settings.py and add following command:-
STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR,'static')]
python manage.py collectstatic
Go to Velzon/settings.py and add following command:-
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.mailtrap.io'
EMAIL_PORT = 2525
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'YOUR EMAIL ADDRESS'
EMAIL_HOST_PASSWORD = 'YOUR HOST Password'
DEFAULT_FROM_EMAIL = 'YOUR EMAIL ADDRESS'
python manage.py runserver