Learning Management System (LMS) monorepo for Be The Source, a Colorado based non-profit helping foster families.
Important
First time? See the Prerequisites section below first.
bun installbun devThe frontend will run on http://localhost:3000.
Note
This repository uses bun as a package manager. All commands will use bun instead of npm or other equivalents.
If you have used npm before, bun is pretty easy to understand. The two have a pretty straightforward equivalency of commands, explained here.
Why bun? It's faster and causes less clutter in the terminal.
Install for MacOS / Linux:
curl -fsSL https://bun.sh/install | bashInstall for Windows:
powershell -c "irm bun.sh/install.ps1 | iex"In a terminal, go to a folder where you would like to store this repository (it can be whatever you like e.g. /clubs or /changeplusplus, just make sure you know where you put it so you can easily find it again). Then clone the repository with git:
# using SSH
git clone git@github.com:ChangePlusPlusVandy/bethesource.git
# OR using personal access token
git clone https://github.com/ChangePlusPlusVandy/bethesource.git
# DO NOT DOWNLOAD AS A ZIP FOLDER (reach out to rachel if you need help)Note
Unfamiliar with Git commands? Here are some resources you might find helpful:
Git Cheat Sheet from WizardZines
Oh My Git! - open source game about learning Git
Reach out to Rachel if you need help! :)
If you haven't worked with Git before, you will most likely have to set up EITHER a SSH key OR a personal access token (PAT) in order to clone the repository into your machine.
You only need one, Rachel uses SSH because she couldn't get the PAT to work the first time she tried and she has stuck with it ever since.
GitHub's documentation for both (choose one):
In your terminal, go back to the folder where you cloned this repository if you are not already there. Then, navigate into the bethesource directory:
cd bethesourceStuck? Some helpful commands:
pwdprints your current location in your machinelslists the files/folders at your current location- [installation required]
zjumps you to your recent locations (e.g.z bethesourcewill bring you to wherever you cloned the folder)- installation option 1: supports bash + zsh
- installation option 2: zsh only but faster