This project is designed and developed by a team of UC Berkeley students through one of Cal Blueprint's project teams during the 2023-24 academic year.
Learn more about Girls Write Now and Cal Blueprint.
Simulator.Screen.Recording.-.iPhone.15.-.2024-04-26.at.00.08.03.mp4
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 git@github.com:calblueprint/girls-write-now.git
- using HTTPS
git clone https://github.com/calblueprint/girls-write-now.git
- using SSH (recommended)
- Enter the cloned directory
cd girls-write-now
- 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 (
girls-write-now/
), create a new file named.env
- Copy the credentials from Blueprint's internal Notion (access is required) and paste them into the
.env
file.
- In the project's root directory (
Helpful resources
- VSCode (recommended)
- Open the
girls-write-now
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:
npx expo start
- There are several ways to test the app:
- Expo Go (Recommended): download Expo Go on your phone, connect to same network as your laptop, and use your phone camera to scan the QR code displayed in the command line.
- Web: typing
w
into the expo command line opens the app in a web view.- Warning: since the app is designed to be used on a mobile app, web compatibility might be limited, and some functionality might be different when using the web setup.