adding-a-project
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAdding a Project
添加项目
Overview
概述
When a new project is created, it needs to be added to both the personal site (arjit-me) and the resume (arjit-resume), then made live.
当创建新项目后,需要将其添加到个人网站(arjit-me)和简历(arjit-resume)中,然后上线。
Locations
文件位置
- Site projects:
~/repos/arjit-me/lib/projects.ts - Resume projects:
~/repos/arjit-resume/resume/projects.tex - Resume PDF: (symlinked to
~/repos/arjit-resume/arjit_jaiswal_resume.pdf)~/Documents/arjit_jaiswal_resume.pdf
- 网站项目列表:
~/repos/arjit-me/lib/projects.ts - 简历项目列表:
~/repos/arjit-resume/resume/projects.tex - 简历PDF文件:(已软链接到
~/repos/arjit-resume/arjit_jaiswal_resume.pdf)~/Documents/arjit_jaiswal_resume.pdf
Process
操作流程
-
Add toin arjit-me:
lib/projects.ts- Add a new entry to the array
projects - Set unless told otherwise
featured: false - Use the repo slug for , but a human-readable name for
idon the site is fine either waytitle
- Add a new entry to the
-
Add toin arjit-resume:
resume/projects.tex- Add a
\projectentry{Name}{url}{description}{tech}{date} - Always use human-readable names, not repo slugs (e.g. "Arjit Skills" not "arjit-skills")
- Keep descriptions concise (one line)
- Insert in chronological order (newest first)
- Add a
-
Compile the resume PDF:bash
cd ~/repos/arjit-resume make buildThe symlink atauto-updates.~/Documents/arjit_jaiswal_resume.pdf -
Push the site live:bash
cd ~/repos/arjit-me git add lib/projects.ts git commit -m "Add <project-name> to projects" git push origin main
-
在arjit-me的中添加项目:
lib/projects.ts- 向数组中添加新条目
projects - 除非另有说明,否则设置
featured: false - 使用仓库slug,网站上的
id可以使用人类可读名称,两种方式均可title
- 向
-
在arjit-resume的中添加项目:
resume/projects.tex- 添加
\projectentry{Name}{url}{description}{tech}{date} - 务必使用人类可读名称,而非仓库slug(例如使用“Arjit Skills”而非“arjit-skills”)
- 描述需简洁(一行内容)
- 按时间倒序插入(最新项目在前)
- 添加
-
编译简历PDF:bash
cd ~/repos/arjit-resume make build软链接会自动更新。~/Documents/arjit_jaiswal_resume.pdf -
推送网站代码以上线:bash
cd ~/repos/arjit-me git add lib/projects.ts git commit -m "Add <project-name> to projects" git push origin main
Rules
规则
- Resume uses human-readable names; site can use either.
- Always compile the PDF after resume changes.
- Always push arjit-me to main to deploy.
- 简历需使用人类可读名称;网站可任选其一。
- 修改简历后务必编译PDF。
- 务必将arjit-me推送到main分支以完成部署。