Friday, November 14, 2025

MAD2-Important Links, Commands,Installations

MAD2-proj youtube playlist help Vuejs :-   click

Bootcamp PlayList -link

List Of Viva questions-Link

MAD 2 LECTURES - To complete the project

1.Setting Up The Backend-Part 1-Click

2.Setting Up Flask-Security---Click

3.Adding Frontend to the app---click

4.Frontend Part 2--click

5.Frontend Part 3---click

6.Celery Integration--click

7.Scheduled Job and Sending Emails--click

8.Flask Caching Integration--click

Guthub Repo : click

commands

sudo apt-get update

sudo apt-get install redis

sudo service redis-server start

https://flask-caching.readthedocs.io/en/latest/

-------------------------------------

pip install checksumdir

import checksumdir

hash = checksumdir.dirhash("folder_name")

print(hash)


python3 -m venv venvname

venv/scripts/activate

pip install -r req.txt


https://github.com/mailhog/MailHog

sudo apt-get -y install golang-go

go install github.com/mailhog/MailHog@latest

celery -A app:celery_app worker -l INFO

https://flask.pyexcel.org/en/latest/


Redis server (WSL)

Frontend (CMD)

Backend (WSL) (VENV)

MailHog (WSL)

Celery -> two terminals (Beat scheduler + Worker) (WSL) (VENV) (from Backend Folder)

https://docs.celeryq.dev/en/stable/userguide/periodic-tasks.html

celery_app.config_from_object(app.config["CELERY"])


https://www.figma.com/design/8gofrho5qM79pdqMSLGk71/Untitled-(1)?node-id=0-1&t=xthanTKKkvRNE4TT-0

<img src="https://picksum.photos/500/500" alt="photo of campaign">

GitHub--link

GitHub--click

BlogLite--link

Link1 Link2 HouseHoldServices

---------------------------------

vue-3 commands

npm install vue-toast

npm install vue-toast-notification

1. wget https://github.com/mailhog/MailHog/releases/download/v1.0.1/MailHog_linux_amd64 -O MailHog

2. chmod +x MailHog

3.  sudo mv MailHog /usr/local/bin

4.  MailHog

-----------------------------------

pip install checksumdir

import checksumdir

hash = checksumdir.dirhash("folder_name")

print(hash)

________________________

python3 -m venv venv

venv/scripts/activate

venv/bin/activate

pip install -r req.txt

pip freeze>req.txt

---------------------------------
pip install flask flask_restful flask_security  flask_cors werkzeug flask_sqlalchemy
npm install chart.js vue-chartjs
pip install flask_caching
Pip install redis

Cache Install command

pip install flask_caching
Pip install redis

Command to install Redis

sudo apt install redis-server
----------------------------------------------
Command to install celery 
 pip install celery
Command to install mailhog
wget https://github.com/mailhog/MailHog/releases/latest/download/MailHog_linux_amd64
-----------------------------------------------------------------
To run Celery
Create two terminal(wsl) and do cd backend.
Then in first terminal type the command
celery -A tasks.celery worker --loglevel=”info"
IN second terminal run command 
celery -A tasks.celery beat --loglevel=info"
-------------------------------------------
To run mailhog
Type command
Mailhog 
------------------------

Run the app 

python3 app.py
flask run 

python3 intial_data.py

flask run --port 5000





















No comments:

Post a Comment

Mangerial Economics Quiz1 solutions Guide

Mangerial Economics Quiz1 solutions Guide  solutions watch on you tube channel