Personalized AI blog generation
~ git clone https://github.com/krrish-v/scribz
Run the command one by one
~ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
~ source ~/.nvm/nvm.sh
~ nvm install 16.16.0
~ nvm use 16.16.0
~ nvm alias default 16.16.0
~ curl -fsSL https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz -o node-v16.16.0-linux-x64.tar.xz
~ tar -xf node-v16.16.0-linux-x64.tar.xz
~ sudo mv node-v16.16.0-linux-x64 /usr/local/node
~ sudo ln -s /usr/local/node/bin/node /usr/bin/node
~ sudo ln -s /usr/local/node/bin/npm /usr/bin/npm
~ node -v
~ npm -v
~ pip install -r requirements.txt
~ cd scribz/Frontend
Run one by one
~ npm install
~ npm install vite
~ npm install file-saver
~ npm install docx
If required
~ npm audit
~ npm audit fix
For details
~ npm fund
~ sudo npm run dev
-
Install MongoDB and run on localhost with the command
~ sudo systemctl start mongod
-
Create a Database named
user_database
and a collection namedusers_datausers_data
-
Create a Gemini API and paste it in a
scribz/Backend/.env
asGOOGLE_API_KEY=<api_key>
-
Now, go ahead to https://fastmail.com and create your new email. After that, go to Settings > Privacy & Security > Integrations > New App Password. Then, set the access to SMTP, and save the app password.
-
In your
scribz/Backend/.env
file, enter the following code:
MAIL_USERNAME=<name>@fastmail.com
MAIL_PASSWORD=<your_password>
~ python3 app.py
======================================================================================
Now Visit http://localhost:5173
on your web browser