This project is being built by a team at Blueprint, a student organization at the University of California, Berkeley building software pro bono for nonprofits.
Check your installation of npm
and node
:
node -v
npm -v
We strongly recommend using a Node version manager like nvm (for Mac) or nvm-windows (for Windows) to install Node.js and npm. See Downloading and installing Node.js and npm.
-
Clone the repo & install dependencies
- Clone this repo
- using SSH (recommended)
git clone [email protected]:calblueprint/immigration-justice-project.git
- using HTTPS
git clone https://github.com/calblueprint/immigration-justice-project.git
- using SSH (recommended)
- Enter the cloned directory
cd immigration-justice-project
- Install project dependencies. This command installs all packages from
package.json
.npm install
- Clone this repo
-
Set up secrets:
- In the project's root directory (
immigration-justice-project/
), create a new file named.env.local
- Copy the credentials from Blueprint's internal Notion (access is required) and paste them into the
.env.local
file.
- In the project's root directory (
Helpful resources
- VSCode (recommended)
- Open the
immigration-justice-project
project in VSCode. - Install recommended workspace VSCode extensions. You should see a pop-up on the bottom right to "install the recommended extensions for this repository".
- Open the
In the project directory, run:
npm run dev
Then, navigate to http://localhost:3000 to launch the web application.