CAPP Connect Project Repo Project members: Amber Avila, Lee-Or Bentovim, Paula Cadena, Kiran Jivnani, Gregory Mitchell, and Alison Spencer Instructor: James Turk
This project seeks to serve current, former, and future MS-CAPP students at the University of Chicago by creating a more user-friendly and cohesive space for collaboration on projects, sharing of events, and searching for future job opportunities. It continues to be a work in progress, and we would love your support.
- Clone the project with ssh:
git clone [email protected]:uchicago-capp-30320/capp-connect.git
- Download uv: link.
- Download Node.js and npm: link
- Go into the base directory of the repository and type
make env
into the terminal. cd
intocapp-connect/frontend
and runnpm install
cd
intocapp-connect/backend
and create a.env
file with the keys found in.env.example
- Connect to the server using the command:
ssh -p 2222 [email protected]
cd
one layer into the capp-connect root- Create a new uv virtual environment:
source .venv/bin/activate
- Run
cd capp-connect/frontend && \ npx expo export --platform web --output-dir static && \ if [ -d ../backend/ccserver/static ]; then rm -r ../backend/ccserver/static; fi && \ mv static ../backend/ccserver/
cd
back to the rootcd ../..
- Run
python capp-connect/backend/manage.py runserver 0.0.0.0:8010
- Then go to this link to login and start using the app
When Socket mode and the server are activated, you can send Slack messages in real time using one of our four pre-approved channels.
- In a new terminal, connect to the server using the command:
ssh -p 2222 [email protected]
- Activate your virtual environment.
- cd to
capp-connect/backend/continuous_messaging
- create a
.env
file in the directory continuous_messaging. Reach out to Kiran for the keys. - run
python socket_mode.py
- Start sending messages in one of our pre-approved channels to post them to the app in real-time.
- Any new Python modules should be added via the
uv add [module]
command.- Example:
uv add pre-commit
- Example:
- Any new JavaScript/React.js/Node.js modules should be added via the
npm install [module]
command in the root directory.- Example:
npm install react
- Example:
make create-requirements
: Creates and/or updates therequirements.txt
file.make install
: Installs all packages needed inrequirements.txt
make env
: Creates or activates auv
virtual environment. Also installs the npm dependencies for the project.make lint
: Runspre-commit
.make frontend-dev
: Runs a Node development server to serve the frontend React Native project with Expo Go.make frontend-build
: Compiles the React code into static files currently located in frontend/static/.make run
: Compiles React Native frontend app into static files and then runs the Django backend server, serving those static files and exposing endpoints.make test
: Runs test cases in thetests
directory.