Engineering

MoM: Grantlounge Team 9th September 2024

September 9, 2024
2024, Engineering
Mom, Grantloungeteam

Introduction # Following are Minutes of Meeting for Grantlounge’s weekly meetting. Participants: Matin, Chris and Sidharth Minutes # Reivew of current tasks Updated tasks on Trello Action Items # Chris: Make changes as suggested by SS on Projects & Project Update form Collaborate with SS for Refactoring Matin: Double check all charts from Analytics card Siddharth: Complete Bid Reviewer’s Manual Update link in Bid Reviewer’s Invitiation email Double check test-cases Complete Software Specifications document Review Projects part done by Chris Create refactoring tasks Make review allocator’s changes

MoM: Sys Team 13th August 2024

August 13, 2024
2024, Engineering
Mom, Systeam

Introduction # Following are Minutes of Meeting for Systeam’s weekly meetting. Participants: Rishabh, Matin, Chris and Sidharth Minutes # Log rotation has been implemented on all server (except Gitea, CI patentaware and Neo4j) including elasticsearch and has also implemented cronjob for es5 wherever has been used. Also the testing of this will be done by Sidharth and Matin to check if log rotations is working correctly or not. Also the documentaion for log rotation is been attached to that card. ...

MoM: Grantlounge Team 12th August 2024

August 12, 2024
2024, Engineering
Mom, Grantloungeteam

Introduction # Following are Minutes of Meeting for Grantlounge’s weekly meetting. Participants: Rishabh, Matin, Chris, Prasad and Sidharth Minutes: Points of discussion # Need to test manualy first then using fixtures we will create local instance for automated testing Action Items: # Chris : Document VsCode SSH documentation. HRMS mobile app. Rishabh: Create wrokspace for analytics, add charts and later make them dynamic across all doctypes Upload the XML arch file Create task cards as action items for task 66 Chris & Sidharth: Create Project Doc & Update project form values GrantloungeTeam: Documentation task got broke up Among us Incident playbook Resources: # Unit testing in frappe

MoM: Sys Team 6th August 2024

August 6, 2024
2024, Engineering
Mom, Systeam

Introduction # Following are Minutes of Meeting for Systeam’s weekly meetting. Participants: Rishabh, Matin, Chris and Sidharth Minutes # Team debugged the issue with regards to AWS SES config for lms.learnexponent.com. There were two issues The email specified in Email Account was incorrect The username was in-correct. This has to be taken from the SMTP’s credentials Since HTTP Basic Auth for Nginx was already figure out this task was closed There is some malicious activity happening for our Git server. ...

HTTP Basic Auth for Nginx

August 4, 2024
2024, Engineering
Nginx, Devops, Security

Introduction # Nginx has ability to enforce HTTP Basic Auth. Following are instruction on how to setup Creating a password through htpasswd like so sudo htpasswd -c /etc/nginx/.htpasswd ducky To install htpasswd command we need to run sudo apt-get install apache2-utils The above command will prompt for password for username ducky. Password file /etc/nginx/.htpasswd will be created Once this is done, we need to modify nginx’s config, specifically location block. ...

Scraping in JS

August 3, 2024
2024, Engineering
Javascript, Scraping, Puppeteer

Introduction # For one of our client Midas Finance we had to implement stock quotes on their home page. There are existing API but we’re not sure of it usability. To solve this issue we use Moneycontrol’s undocumented APIs. Basically to scrape this we had to use two mechanisms: fetch based JSON scraping Puppeteer to scrape information form web pages. Along the way we had to solve few sub-problems: ...

Prettier & Pre-commit hooks

August 1, 2024
2024, Engineering
React, Nextjs, Notes

Introduction # Prettier is a code formatter for JS projects. There are two variations we need to deal with when configuring prettier Projects with package.json at root level # For these projects we need to run following commands npm install --save-dev --save-exact prettier npx prettier . --write npm install --save-dev husky lint-staged npx husky init This will install all the necessary packages. You need to create few config files using following commands ...

Jest and Droids

July 30, 2024
2024, Engineering
React, Nextjs, Notes

Introduction # In this post we will look at How to setup Jest for NextJS projects Setting up Android on Ubuntu Setting up Jest to existing NextJS projects # Jest is a good testing framework which makes easy practicing TDD on ReactJS projects. There are two ways of integrating Jest into NextJS projects: When starting from scratch # Its as easy as running following command: npx create-next-app@latest --example with-jest with-jest-app ...

Notes on Nginx and Hugo

July 29, 2024
2024, Engineering
Devops, Nginx, Hugo

tldr # We got Rubber Ducky and FineAI working again. Both of these assets are built using Hugo. Overall steps # Starting a new site Installing theme Writing some content Version controlling it Writing a Nginx’s config Ensuring sub-domains are mapped correctly Ensure SSL is working on the sub-domain Significance of this activity is: With Nginx we can map multiple sites onto a single server. Since traffic is not much, we can map multiple sites onto single machine. ...

🐣 Hello World!

January 1, 2024
Engineering
Chore

Introduction # Hello World! Post. This is where we will be documenting all our lessons and learning! To run this locally we need to type hugo server --minify --theme hugo-book Change Log # Created section for 2024 added Quarterly and Yearly Goals Created sections for handbook and projects Added sandbox section Added section on projects