This repo is designed to increase transparency around and opportunity to collaborate on development portions of our projects or code bases TDX-DX is responsible for maintaining and experimenting in. No single app or site is hosted/maintained by this repo. Rather, the repo helps members of the DX team experiment on ideas for our web properties, streamline the local hosting of apps/pages, document how to contribute to dx development, and host relevant resources and skills for TritonAI powered projects.
-
- Description: contains codebases for idea garden projects of concepts.
-
- Description: contains directories tools and skills designed/developed for human-centered, principled use (and non-use) of TritonAI.
-
- Description: contains component mark-up, api explorations documentation, test environments for local, static testing of webpages, and documentation for developing in the respective platform. In the case of primo_nde_dev it spins up a local dev environment to test nde customization and create the appropriate
.zipfile to upload into Alma.
- Description: contains component mark-up, api explorations documentation, test environments for local, static testing of webpages, and documentation for developing in the respective platform. In the case of primo_nde_dev it spins up a local dev environment to test nde customization and create the appropriate
Clone the Repository
Run the following command in your terminal to clone the repository to your local machine:
git clone <repo-url>
Example:
git clone https://github.com/ucsdlib/dx-projects/tree/main
Move Into the Repository Folder
cd repository-name
Set Up Your Feature Branch
You need to check out the feature branch that I created for you. Run:
git checkout -b <your-feature-branch> origin/<your-feature-branch>
- Replace
<your-feature-branch>with the branch name I provided (e.g.,update-api-post-logic).
Always pull the latest changes from the remote main branch directly into your feature branch:
Ensure You’re on Your Feature Branch:
git checkout <your-feature-branch>
Pull Remote main into Your Feature Branch: Merge the latest changes from the main branch into your feature branch:
git pull origin main
This ensures you are always working with the most up-to-date code.
Make Changes to the Code: Edit files as needed for your task.
Stage Changes: Add the files you modified:
git add .
Or stage specific files:
git add <file-name> OR git add . for multi file updates
Commit Your Changes: Write a descriptive commit message:
git commit -m "Add description of your changes"
Push Changes to Your Remote Feature Branch: Push your changes to the remote branch:
git push origin <your-feature-branch>
Once you push your changes, @Lopez-CL will. receive your email email letting know that your branch is ready for review.
**Delete your local feature branch; remote feature branch will be deleted after merge.
Include the following:
- Branch name (e.g.,
update-api-post-logic) - Brief description of the changes.