VRMS is a tool used for the engagement, support, and retention of a network of volunteers.
This is an ambitious project to create a system that will help us measure our human capital development, reduce repetitive tasks and processes for leadership, and improve outcomes for both volunteers and the projects they contribute to.
We are currently in the initial planning phase after delivering a prototype to the organization's leadership. Our priorities are laying out a feature roadmap for beta and beyond, and recruiting a team of dedicated members to build the product. Time is of the essence, as each Hack Night is a new opportunity to garner valuable data which, in return, supports the organization and it's members.
This is a Full Stack web app, built with:
Head over to the Issues tab and see if you'd like to contribute.
If this seems like a project you'd like to dedicate your time to, reach out to the leads on Slack or at one of our weekly Hack Nights.
Using Git (If you're familiar with forking and pulling/pushing/committing, head to the next section)
This section discusses some tips and best practices for working with Git.
-
Changes start on your local fork of this repository, in your own branch.
-
Commit your changes with a comment related to the issue it addresses to your local repository.
-
Push that commit(s) to GitHub.
-
From the
VRMS
repository, create a Pull Request which asksVRMS
to pull changes from your fork into the main repository. -
After the owner of the
VRMS
repository approves and merges your Pull Request, your changes will be live on the website.
In the vrms
slack channel, send your GitHub name to the project manager (or on the slack channel thread) and we'll add you as a member to the GitHub repository Team.
Once you have accepted the GitHub invite (via email or in your GitHub notifications), please do the following:
-
Mark your own membership public https://help.github.com/en/articles/publicizing-or-hiding-organization-membership#changing-the-visibility-of-your-organization-membership
-
Setup two factor authentication on your account hackforla/admin-governance#20
These steps are manditory in order to contribute to all HackforLA projects.
In https://github.com/hackforla/VRMS, look for the fork icon in the top right. Click it and create a fork of the repository.
For git beginners, a fork is a copy of the repository that will be placed on your GitHub account url.
It should create a copy here: https://github.com/your_GitHub_user_name/vrms, where your_GitHub_user_name
is replaced with exactly that.
Note that this copy is on a remote server on the GitHub website and not on your computer yet.
If you click the icon again, it will not create a new fork but instead give you the URL associated with your fork.
For git beginners, this process will create a third copy of the repository on your local desktop.
First create a new folder on your desktop that will contain hackforla
projects.
In your shell, navigate there then run the following commands:
git clone https://github.com/your_GitHub_user_name/vrms.git
You should now have a new folder in your hackforla
folder called vrms
.
Verify which URL your origin
remote is pointing to:
git remote show origin
If you accidentally cloned the hackforla/vrms.git
then you can change your local copy to upload to your fork with the following:
git remote set-url origin https://github.com/your_user_name/vrms.git
Add another remote called vrms
that points to the hackforla
version of the repository. This will allow you to incorporate changes later:
git remote add vrms https://github.com/hackforla/vrms.git
For each issue, create a new branch to work in.
This command will let you know available branches and which branch you're on.
Star (*
) indicates which branch you're on
git branch
By default you should start on the master
branch.
This command will (create and) change to a new branch:
git checkout -b 140-fix-logo-width
We prefer that you work on a branch name that relates to the issue you're working on.
The format should look like the scheme above where 140
is the issue number in GitHub, and the words are a brief description of the issue.
No law of physics will break if you don't adhere to this scheme but laws of git will break if you add spaces in the branch name.
Your fork of this repository on GitHub, and your local clone of that fork, will get out of sync with this (upstream) repository from time to time.
Assuming you have a local clone with remotes vrms
(this repo) and origin
(your GitHub fork of this repo):
# WARNING: this will erase local pending changes!
# commit them to a different branch or use git stash
git checkout master
git fetch vrms
git reset --hard vrms/master
Do you have (Node)[https://nodejs.org/en/download/] and NPM installed?
Verify with node -v
and npm -v
respectively.
If you completed the Git steps above, you should be ready with your local fork loaded in your code editor of choice. Check your remotes again with git remote -v
to make sure you're good to go.
From the app root vrms/
, run npm install
to setup the package.json
for the Node server, then cd client/
and run npm install
again to setup the package.json
for the React front end. This might take a minute or two.
Create .env
files:
- in the project root folder
vrms/
for back-end. - in the
vrms/client/
folder for front-end.
Then paste the content from the document. It is accessible for the project team members only.
Take a second to review the server.js
file in the vrms/
folder. It is a blueprint for the back end, so please familiarize yourself with it. You'll see folders for the database collection models, routes for the API, and a config file which loads the necessary environment variables.
Make sure you're at the app root, and run:
npm run dev-start
You should now have a live app. Happy hacking.
Details about the project's open source status below: